[−][src]Struct rustc_trait_selection::traits::ImplSourceObjectData

pub struct ImplSourceObjectData<'tcx, N> {
    pub upcast_trait_ref: Binder<TraitRef<'tcx>>,
    pub vtable_base: usize,
    pub nested: Vec<N>,
}

Fields

upcast_trait_ref: Binder<TraitRef<'tcx>>

Foo upcast to the obligation trait. This will be some supertrait of Foo.

vtable_base: usize

The vtable is formed by concatenating together the method lists of the base object trait and all supertraits; this is the start of upcast_trait_ref's methods in that vtable.

nested: Vec<N>

Auto Trait Implementations

impl<'tcx, N> !RefUnwindSafe for ImplSourceObjectData<'tcx, N>

impl<'tcx, N> !Send for ImplSourceObjectData<'tcx, N>

impl<'tcx, N> !Sync for ImplSourceObjectData<'tcx, N>

impl<'tcx, N> Unpin for ImplSourceObjectData<'tcx, N> where
    N: Unpin, 

impl<'tcx, N> !UnwindSafe for ImplSourceObjectData<'tcx, N>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'tcx, T> Subst<'tcx> for T where
    T: TypeFoldable<'tcx>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]