Struct rustc_hir::hir::TraitCandidate
source · pub struct TraitCandidate {
pub def_id: DefId,
pub import_ids: SmallVec<[LocalDefId; 1]>,
}
Fields§
§def_id: DefId
§import_ids: SmallVec<[LocalDefId; 1]>
Trait Implementations§
source§impl Clone for TraitCandidate
impl Clone for TraitCandidate
source§fn clone(&self) -> TraitCandidate
fn clone(&self) -> TraitCandidate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TraitCandidate
impl Debug for TraitCandidate
source§impl<__D: Decoder> Decodable<__D> for TraitCandidate
impl<__D: Decoder> Decodable<__D> for TraitCandidate
source§impl<__E: Encoder> Encodable<__E> for TraitCandidate
impl<__E: Encoder> Encodable<__E> for TraitCandidate
source§impl<__CTX> HashStable<__CTX> for TraitCandidatewhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for TraitCandidatewhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
Auto Trait Implementations§
impl RefUnwindSafe for TraitCandidate
impl Send for TraitCandidate
impl Sync for TraitCandidate
impl Unpin for TraitCandidate
impl UnwindSafe for TraitCandidate
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes