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 SymbolExportLevel
pub 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 SymbolExportLevel
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl PartialEq for SymbolExportLevel
[src]
impl PartialEq for SymbolExportLevel
fn eq(&self, other: &SymbolExportLevel) -> bool
[src]
fn eq(&self, other: &SymbolExportLevel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Debug for SymbolExportLevel
[src]
impl Debug for SymbolExportLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for SymbolExportLevel
[src]
impl Copy for SymbolExportLevel
impl Clone for SymbolExportLevel
[src]
impl Clone for SymbolExportLevel
fn clone(&self) -> SymbolExportLevel
[src]
fn clone(&self) -> SymbolExportLevel
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 Encodable for SymbolExportLevel
[src]
impl Encodable for SymbolExportLevel
fn 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 SymbolExportLevel
fn 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 SymbolExportLevel
fn 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 SymbolExportLevel
impl Sync for SymbolExportLevel
impl Sync for SymbolExportLevel