Type Alias rustc_resolve::imports::Import
source · pub(crate) type Import<'a> = Interned<'a, ImportData<'a>>;
Expand description
All imports are unique and allocated on a same arena, so we can use referential equality to compare them.
Aliased Type§
struct Import<'a>(pub &'a ImportData<'a>, pub PrivateZst);
Fields§
§0: &'a ImportData<'a>
§1: PrivateZst
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: 8 bytes