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]
pub fn is_below_threshold(self, threshold: SymbolExportLevel) -> bool[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?
Trait Implementations
impl Eq for SymbolExportLevel[src]
impl PartialEq for SymbolExportLevel[src]
fn eq(&self, __arg_0: &SymbolExportLevel) -> bool[src]
This 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]
This method tests for !=.
impl Debug for SymbolExportLevel[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for SymbolExportLevel[src]
impl Clone for SymbolExportLevel[src]
fn clone(&self) -> SymbolExportLevel[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'tcx> HashStable<StableHashingContext<'tcx>> for SymbolExportLevel[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'tcx>,
__hasher: &mut StableHasher<W>
)[src]
&self,
__ctx: &mut StableHashingContext<'tcx>,
__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?