Enum rustc_middle::ty::vtable::VtblEntry [−][src]
pub enum VtblEntry<'tcx> {
MetadataDropInPlace,
MetadataSize,
MetadataAlign,
Vacant,
Method(Instance<'tcx>),
TraitVPtr(PolyTraitRef<'tcx>),
}Variants
destructor of this type (used in vtable header)
layout size of this type (used in vtable header)
layout align of this type (used in vtable header)
non-dispatchable associated function that is excluded from trait object
dispatchable associated function
Tuple Fields of Method
0: Instance<'tcx>pointer to a separate supertrait vtable, can be used by trait upcasting coercion
Tuple Fields of TraitVPtr
0: PolyTraitRef<'tcx>Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for VtblEntry<'tcx>
impl<'tcx> !UnwindSafe for VtblEntry<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes