Struct rustc_middle::traits::ImplSourceObjectData[][src]

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

Fields

upcast_trait_ref: PolyTraitRef<'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>

Trait Implementations

impl<'tcx, N: Clone> Clone for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, N: Debug> Debug for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, N, __D: TyDecoder<'tcx>> Decodable<__D> for ImplSourceObjectData<'tcx, N> where
    N: Decodable<__D>, 
[src]

impl<'tcx, N, __E: TyEncoder<'tcx>> Encodable<__E> for ImplSourceObjectData<'tcx, N> where
    N: Encodable<__E>, 
[src]

impl<'tcx, N: Eq> Eq for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceObjectData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__lifted, N> Lift<'__lifted> for ImplSourceObjectData<'tcx, N> where
    N: Lift<'__lifted>, 
[src]

type Lifted = ImplSourceObjectData<'__lifted, N::Lifted>

impl<'tcx, N: PartialEq> PartialEq<ImplSourceObjectData<'tcx, N>> for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, N> StructuralEq for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, N> StructuralPartialEq for ImplSourceObjectData<'tcx, N>[src]

impl<'tcx, N> TypeFoldable<'tcx> for ImplSourceObjectData<'tcx, N> where
    N: TypeFoldable<'tcx>, 
[src]

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<'a, T> Captures<'a> 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<T> MaybeResult<T> for T[src]

type Error = !

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]