Struct rustc_metadata::cstore::ForeignModule
[−]
[src]
🔬 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
foreign_items: Vec<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?
def_id: 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 ForeignModule[src]
impl Clone for ForeignModulefn clone(&self) -> ForeignModule[src]
fn clone(&self) -> ForeignModuleReturns 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 ForeignModule[src]
impl Decodable for ForeignModulefn decode<__D>(
__arg_0: &mut __D
) -> Result<ForeignModule, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(
__arg_0: &mut __D
) -> Result<ForeignModule, <__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 ForeignModule[src]
impl Hash for ForeignModulefn 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 ForeignModule[src]
impl Encodable for ForeignModulefn 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 ForeignModule[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ForeignModulefn 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 ForeignModule
impl Send for ForeignModuleimpl Sync for ForeignModule
impl Sync for ForeignModule