Struct rustc_session::cstore::ExternCrate [−][src]
pub struct ExternCrate {
pub src: ExternCrateSource,
pub span: Span,
pub path_len: usize,
pub dependency_of: CrateNum,
}
Fields
src: ExternCrateSource
span: Span
span of the extern crate that caused this to be loaded
path_len: usize
Number of links to reach the extern; used to select the extern with the shortest path
dependency_of: CrateNum
Crate that depends on this crate
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExternCrate
impl !Send for ExternCrate
impl !Sync for ExternCrate
impl Unpin for ExternCrate
impl UnwindSafe for ExternCrate
Blanket Implementations
Mutably borrows from an owned value. Read more
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