Struct rustc_middle::middle::cstore::CrateSource [−][src]
pub struct CrateSource {
pub dylib: Option<(PathBuf, PathKind)>,
pub rlib: Option<(PathBuf, PathKind)>,
pub rmeta: Option<(PathBuf, PathKind)>,
}Expand description
Where a crate came from on the local filesystem. One of these three options must be non-None.
Fields
dylib: Option<(PathBuf, PathKind)>rlib: Option<(PathBuf, PathKind)>rmeta: Option<(PathBuf, PathKind)>Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CrateSourceimpl Send for CrateSourceimpl Sync for CrateSourceimpl Unpin for CrateSourceimpl UnwindSafe for CrateSourceBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 96 bytes