pub(crate) enum DefPathHashMapRef<'tcx> {
OwnedFromMetadata(HashTable<HashMapConfig, OwningRef<MetadataBlob, [u8]>>),
BorrowedFromTcx(&'tcx DefPathHashMap),
}Variants
OwnedFromMetadata(HashTable<HashMapConfig, OwningRef<MetadataBlob, [u8]>>)
BorrowedFromTcx(&'tcx DefPathHashMap)
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for DefPathHashMapRef
impl<'tcx> !Send for DefPathHashMapRef
impl<'tcx> !Sync for DefPathHashMapRef
impl<'tcx> Unpin for DefPathHashMapRef
impl<'tcx> !UnwindSafe for DefPathHashMapRef
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