Enum rustc_typeck::middle::exported_symbols::ExportedSymbol [−][src]
pub enum ExportedSymbol<'tcx> {
NonGeneric(DefId),
Generic(DefId, &'tcx List<GenericArg<'tcx>>),
DropGlue(&'tcx TyS<'tcx>),
NoDefId(SymbolName<'tcx>),
}Variants
NonGeneric(DefId)
Tuple Fields
0: DefIdGeneric(DefId, &'tcx List<GenericArg<'tcx>>)
DropGlue(&'tcx TyS<'tcx>)
Tuple Fields
0: &'tcx TyS<'tcx>NoDefId(SymbolName<'tcx>)
Tuple Fields
0: SymbolName<'tcx>Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ExportedSymbol<'tcx>
impl<'tcx> !Send for ExportedSymbol<'tcx>
impl<'tcx> !Sync for ExportedSymbol<'tcx>
impl<'tcx> Unpin for ExportedSymbol<'tcx>
impl<'tcx> !UnwindSafe for ExportedSymbol<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. 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: 24 bytes
Size for each variant:
NonGeneric: 8 bytesGeneric: 20 bytesDropGlue: 12 bytesNoDefId: 20 bytes