Struct rustc_resolve::CrateLoader [−][src]
pub(crate) struct CrateLoader<'a> {
sess: &'a Session,
metadata_loader: Box<dyn MetadataLoader + Sync + 'static, Global>,
local_crate_name: Symbol,
cstore: CStore,
used_extern_options: HashSet<Symbol, BuildHasherDefault<FxHasher>>,
}Fields
sess: &'a Sessionmetadata_loader: Box<dyn MetadataLoader + Sync + 'static, Global>local_crate_name: Symbolcstore: CStoreused_extern_options: HashSet<Symbol, BuildHasherDefault<FxHasher>>Auto Trait Implementations
impl<'a> !RefUnwindSafe for CrateLoader<'a>
impl<'a> !Send for CrateLoader<'a>
impl<'a> !Sync for CrateLoader<'a>
impl<'a> Unpin for CrateLoader<'a>
impl<'a> !UnwindSafe for CrateLoader<'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: 152 bytes