Struct rustc::hir::TraitCandidate [−][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?
Fields
def_id: 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?
import_id: Option<NodeId>
🔬 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 Clone for TraitCandidate[src]
impl Clone for TraitCandidatefn clone(&self) -> TraitCandidate[src]
fn clone(&self) -> TraitCandidateReturns 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 Debug for TraitCandidate[src]
impl Debug for TraitCandidatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> HashStable<StableHashingContext<'a>> for TraitCandidate[src]
impl<'a> HashStable<StableHashingContext<'a>> for TraitCandidatefn 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?
impl<'a> ToStableHashKey<StableHashingContext<'a>> for TraitCandidate[src]
impl<'a> ToStableHashKey<StableHashingContext<'a>> for TraitCandidatetype KeyType = (DefPathHash, Option<(DefPathHash, ItemLocalId)>)
🔬 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?
fn to_stable_hash_key(&self, hcx: &StableHashingContext<'a>) -> Self::KeyType[src]
fn to_stable_hash_key(&self, hcx: &StableHashingContext<'a>) -> Self::KeyType🔬 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 TraitCandidate
impl Send for TraitCandidateimpl Sync for TraitCandidate
impl Sync for TraitCandidate