Enum rustc_metadata::rmeta::def_path_hash_map::DefPathHashMapRef [−][src]
pub(crate) enum DefPathHashMapRef<'tcx> {
OwnedFromMetadata(HashTable<HashMapConfig, OwningRef<MetadataBlob, [u8]>>),
BorrowedFromTcx(&'tcx DefPathHashMap),
}
Variants
OwnedFromMetadata(HashTable<HashMapConfig, OwningRef<MetadataBlob, [u8]>>)
Tuple Fields of OwnedFromMetadata
BorrowedFromTcx(&'tcx DefPathHashMap)
Tuple Fields of BorrowedFromTcx
0: &'tcx DefPathHashMap
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for DefPathHashMapRef<'tcx>
impl<'tcx> !Send for DefPathHashMapRef<'tcx>
impl<'tcx> !Sync for DefPathHashMapRef<'tcx>
impl<'tcx> Unpin for DefPathHashMapRef<'tcx>
impl<'tcx> !UnwindSafe for DefPathHashMapRef<'tcx>
Blanket Implementations
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: 32 bytes
Size for each variant:
OwnedFromMetadata
: 24 bytesBorrowedFromTcx
: 8 bytes