Struct rustc_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<__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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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