Enum rustc::middle::exported_symbols::SymbolExportLevel [−][src]
pub enum SymbolExportLevel {
C,
Rust,
}🔬 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?
The SymbolExportLevel of a symbols specifies from which kinds of crates
the symbol will be exported. C symbols will be exported from any
kind of crate, including cdylibs which export very few things.
Rust will only be exported if the crate produced is a Rust
dylib.
Variants
C🔬 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?
Rust🔬 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?
Methods
impl SymbolExportLevel[src]
impl SymbolExportLevelpub fn is_below_threshold(self, threshold: SymbolExportLevel) -> bool[src]
pub fn is_below_threshold(self, threshold: SymbolExportLevel) -> bool🔬 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 Eq for SymbolExportLevel[src]
impl Eq for SymbolExportLevelfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq for SymbolExportLevel[src]
impl PartialEq for SymbolExportLevelfn eq(&self, other: &SymbolExportLevel) -> bool[src]
fn eq(&self, other: &SymbolExportLevel) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for SymbolExportLevel[src]
impl Debug for SymbolExportLevelfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for SymbolExportLevel[src]
impl Copy for SymbolExportLevelimpl Clone for SymbolExportLevel[src]
impl Clone for SymbolExportLevelfn clone(&self) -> SymbolExportLevel[src]
fn clone(&self) -> SymbolExportLevelReturns 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 SymbolExportLevel[src]
impl Encodable for SymbolExportLevelfn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>🔬 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 SymbolExportLevel[src]
impl Decodable for SymbolExportLevelfn decode<__D: Decoder>(d: &mut __D) -> Result<SymbolExportLevel, __D::Error>[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<SymbolExportLevel, __D::Error>🔬 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 SymbolExportLevel[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for SymbolExportLevelfn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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 SymbolExportLevel
impl Send for SymbolExportLevelimpl Sync for SymbolExportLevel
impl Sync for SymbolExportLevel