Enum rustc::middle::exported_symbols::ExportedSymbol
[−]
[src]
pub enum ExportedSymbol { NonGeneric(DefId), NoDefId(SymbolName), }
🔬 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
NonGeneric(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?
NoDefId(SymbolName)
🔬 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 ExportedSymbol
[src]
impl ExportedSymbol
pub fn symbol_name(&self, tcx: TyCtxt) -> SymbolName
[src]
pub fn symbol_name(&self, tcx: TyCtxt) -> SymbolName
🔬 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?
pub fn compare_stable(&self, tcx: TyCtxt, other: &ExportedSymbol) -> Ordering
[src]
pub fn compare_stable(&self, tcx: TyCtxt, other: &ExportedSymbol) -> Ordering
🔬 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 ExportedSymbol
[src]
impl Eq for ExportedSymbol
impl PartialEq for ExportedSymbol
[src]
impl PartialEq for ExportedSymbol
fn eq(&self, __arg_0: &ExportedSymbol) -> bool
[src]
fn eq(&self, __arg_0: &ExportedSymbol) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExportedSymbol) -> bool
[src]
fn ne(&self, __arg_0: &ExportedSymbol) -> bool
This method tests for !=
.
impl Debug for ExportedSymbol
[src]
impl Debug for ExportedSymbol
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for ExportedSymbol
[src]
impl Copy for ExportedSymbol
impl Clone for ExportedSymbol
[src]
impl Clone for ExportedSymbol
fn clone(&self) -> ExportedSymbol
[src]
fn clone(&self) -> ExportedSymbol
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 ExportedSymbol
[src]
impl Encodable for ExportedSymbol
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, __arg_0: &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 ExportedSymbol
[src]
impl Decodable for ExportedSymbol
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ExportedSymbol, __D::Error>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ExportedSymbol, __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 ExportedSymbol
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ExportedSymbol
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 ExportedSymbol
impl !Send for ExportedSymbol
impl Sync for ExportedSymbol
impl Sync for ExportedSymbol