[−][src]Struct rustc_infer::traits::ImplSourceUserDefinedData
Identifies a particular impl in the source, along with a set of
substitutions from the impl's type/lifetime parameters. The
nested vector corresponds to the nested obligations attached to
the impl's type parameters.
The type parameter N indicates the type used for "nested
obligations" that are required by the impl. During type-check, this
is Obligation, as one might expect. During codegen, however, this
is (), because codegen only requires a shallow resolution of an
impl, and nested obligations are satisfied later.
Fields
impl_def_id: DefIdsubsts: &'tcx List<GenericArg<'tcx>>nested: Vec<N>Auto Trait Implementations
impl<'tcx, N> !RefUnwindSafe for ImplSourceUserDefinedData<'tcx, N>
impl<'tcx, N> !Send for ImplSourceUserDefinedData<'tcx, N>
impl<'tcx, N> !Sync for ImplSourceUserDefinedData<'tcx, N>
impl<'tcx, N> Unpin for ImplSourceUserDefinedData<'tcx, N> where
N: Unpin,
N: Unpin,
impl<'tcx, N> !UnwindSafe for ImplSourceUserDefinedData<'tcx, N>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<'tcx, T> Subst<'tcx> for T where
T: TypeFoldable<'tcx>, [src]
T: TypeFoldable<'tcx>,
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T[src]
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
pub fn subst(self, tcx: TyCtxt<'tcx>, substs: &[GenericArg<'tcx>]) -> Self[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.