Struct rustc_metadata::cstore::NativeLibrary
[−]
[src]
pub struct NativeLibrary { pub kind: NativeLibraryKind, pub name: Symbol, pub cfg: Option<MetaItem>, pub foreign_module: Option<DefId>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
kind: NativeLibraryKind
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
name: Symbol
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
cfg: Option<MetaItem>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
foreign_module: Option<DefId>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl Clone for NativeLibrary
[src]
impl Clone for NativeLibrary
fn clone(&self) -> NativeLibrary
[src]
fn clone(&self) -> NativeLibrary
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Decodable for NativeLibrary
[src]
impl Decodable for NativeLibrary
fn decode<__D>(
__arg_0: &mut __D
) -> Result<NativeLibrary, <__D as Decoder>::Error> where
__D: Decoder,
[src]
fn decode<__D>(
__arg_0: &mut __D
) -> Result<NativeLibrary, <__D as Decoder>::Error> where
__D: Decoder,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl Hash for NativeLibrary
[src]
impl Hash for NativeLibrary
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Encodable for NativeLibrary
[src]
impl Encodable for NativeLibrary
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder,
[src]
fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for NativeLibrary
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for NativeLibrary
fn hash_stable<W>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
) where
W: StableHasherResult,
[src]
fn hash_stable<W>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
) where
W: StableHasherResult,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl !Send for NativeLibrary
impl !Send for NativeLibrary
impl !Sync for NativeLibrary
impl !Sync for NativeLibrary