Enum rustc::middle::exported_symbols::ExportedSymbol [−][src]
pub enum ExportedSymbol<'tcx> { NonGeneric(DefId), Generic(DefId, &'tcx Substs<'tcx>), 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?
Generic(DefId, &'tcx Substs<'tcx>)
🔬 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<'tcx> ExportedSymbol<'tcx>
[src]
impl<'tcx> ExportedSymbol<'tcx>
pub fn symbol_name(&self, tcx: TyCtxt<'_, 'tcx, '_>) -> SymbolName
[src]
pub fn symbol_name(&self, tcx: TyCtxt<'_, 'tcx, '_>) -> 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<'_, 'tcx, '_>,
other: &ExportedSymbol<'tcx>
) -> Ordering
[src]
pub fn compare_stable(
&self,
tcx: TyCtxt<'_, 'tcx, '_>,
other: &ExportedSymbol<'tcx>
) -> 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<'tcx> Eq for ExportedSymbol<'tcx>
[src]
impl<'tcx> Eq for ExportedSymbol<'tcx>
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl<'tcx> PartialEq for ExportedSymbol<'tcx>
[src]
impl<'tcx> PartialEq for ExportedSymbol<'tcx>
fn eq(&self, other: &ExportedSymbol<'tcx>) -> bool
[src]
fn eq(&self, other: &ExportedSymbol<'tcx>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExportedSymbol<'tcx>) -> bool
[src]
fn ne(&self, other: &ExportedSymbol<'tcx>) -> bool
This method tests for !=
.
impl<'tcx> Debug for ExportedSymbol<'tcx>
[src]
impl<'tcx> Debug for ExportedSymbol<'tcx>
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<'tcx> Copy for ExportedSymbol<'tcx>
[src]
impl<'tcx> Copy for ExportedSymbol<'tcx>
impl<'tcx> Clone for ExportedSymbol<'tcx>
[src]
impl<'tcx> Clone for ExportedSymbol<'tcx>
fn clone(&self) -> ExportedSymbol<'tcx>
[src]
fn clone(&self) -> ExportedSymbol<'tcx>
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<'tcx> Encodable for ExportedSymbol<'tcx>
[src]
impl<'tcx> Encodable for ExportedSymbol<'tcx>
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<'tcx> Decodable for ExportedSymbol<'tcx>
[src]
impl<'tcx> Decodable for ExportedSymbol<'tcx>
fn decode<__D: Decoder>(d: &mut __D) -> Result<ExportedSymbol<'tcx>, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<ExportedSymbol<'tcx>, __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, 'gcx> HashStable<StableHashingContext<'a>> for ExportedSymbol<'gcx>
[src]
impl<'a, 'gcx> HashStable<StableHashingContext<'a>> for ExportedSymbol<'gcx>
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &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<'tcx> !Send for ExportedSymbol<'tcx>
impl<'tcx> !Send for ExportedSymbol<'tcx>
impl<'tcx> !Sync for ExportedSymbol<'tcx>
impl<'tcx> !Sync for ExportedSymbol<'tcx>