Enum rustc_metadata::cstore::LinkagePreference [−][src]
pub enum LinkagePreference {
RequireDynamic,
RequireStatic,
}🔬 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?
Variants
RequireDynamic🔬 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?
RequireStatic🔬 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 PartialEq<LinkagePreference> for LinkagePreference[src]
impl PartialEq<LinkagePreference> for LinkagePreferencefn eq(&self, other: &LinkagePreference) -> bool[src]
fn eq(&self, other: &LinkagePreference) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LinkagePreference[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LinkagePreferencefn 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?
impl Debug for LinkagePreference[src]
impl Debug for LinkagePreferencefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for LinkagePreference[src]
impl Copy for LinkagePreferenceimpl Clone for LinkagePreference[src]
impl Clone for LinkagePreferencefn clone(&self) -> LinkagePreference[src]
fn clone(&self) -> LinkagePreferenceReturns 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 Encodable for LinkagePreference[src]
impl Encodable for LinkagePreferencefn encode<__S>(&self, s: &mut __S) -> Result<(), <__S as Encoder>::Error> where
__S: Encoder, [src]
fn encode<__S>(&self, s: &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 Decodable for LinkagePreference[src]
impl Decodable for LinkagePreferencefn decode<__D>(
d: &mut __D
) -> Result<LinkagePreference, <__D as Decoder>::Error> where
__D: Decoder, [src]
fn decode<__D>(
d: &mut __D
) -> Result<LinkagePreference, <__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?
Auto Trait Implementations
impl Send for LinkagePreference
impl Send for LinkagePreferenceimpl Sync for LinkagePreference
impl Sync for LinkagePreference