enum ParentId<'a> {
Def(LocalDefId),
Import(Interned<'a, NameBinding<'a>>),
}
Variants§
Def(LocalDefId)
Import(Interned<'a, NameBinding<'a>>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ParentId<'a>
impl<'a> !Send for ParentId<'a>
impl<'a> !Sync for ParentId<'a>
impl<'a> Unpin for ParentId<'a>
impl<'a> !UnwindSafe for ParentId<'a>
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: 16 bytes
Size for each variant:
Def
: 4 bytesImport
: 12 bytes