Struct rustc_codegen_ssa::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)>Auto Trait Implementations
impl RefUnwindSafe for CrateSource
impl Send for CrateSource
impl Sync for CrateSource
impl Unpin for CrateSource
impl UnwindSafe for CrateSource
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: 96 bytes