Enum rustc_middle::middle::exported_symbols::ExportedSymbol [−][src]
pub enum ExportedSymbol<'tcx> {
NonGeneric(DefId),
Generic(DefId, SubstsRef<'tcx>),
DropGlue(Ty<'tcx>),
NoDefId(SymbolName<'tcx>),
}Variants
Tuple Fields of NonGeneric
0: DefIdTuple Fields of DropGlue
0: Ty<'tcx>Tuple Fields of NoDefId
0: SymbolName<'tcx>Implementations
This is the symbol name of an instance if it is instantiated in the local crate.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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 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: 24 bytes