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 ExportedSymbolpub 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 ExportedSymbolimpl PartialEq for ExportedSymbol[src]
impl PartialEq for ExportedSymbolfn eq(&self, __arg_0: &ExportedSymbol) -> bool[src]
fn eq(&self, __arg_0: &ExportedSymbol) -> boolThis 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) -> boolThis method tests for !=.
impl Debug for ExportedSymbol[src]
impl Debug for ExportedSymbolfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for ExportedSymbol[src]
impl Copy for ExportedSymbolimpl Clone for ExportedSymbol[src]
impl Clone for ExportedSymbolfn clone(&self) -> ExportedSymbol[src]
fn clone(&self) -> ExportedSymbolReturns 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 ExportedSymbolfn 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 ExportedSymbolfn 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 ExportedSymbolfn 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 ExportedSymbolimpl Sync for ExportedSymbol
impl Sync for ExportedSymbol