Struct rustc_middle::ty::trait_def::TraitImpls [−][src]
pub struct TraitImpls {
blanket_impls: Vec<DefId>,
non_blanket_impls: FxHashMap<SimplifiedType, Vec<DefId>>,
}Fields
blanket_impls: Vec<DefId>non_blanket_impls: FxHashMap<SimplifiedType, Vec<DefId>>Expand description
Impls indexed by their simplified self type, for fast lookup.
Implementations
impl TraitImpls[src]
impl TraitImpls[src]Trait Implementations
impl Debug for TraitImpls[src]
impl Debug for TraitImpls[src]impl Default for TraitImpls[src]
impl Default for TraitImpls[src]fn default() -> TraitImpls[src]
fn default() -> TraitImpls[src]Returns the “default value” for a type. Read more
impl<'a> HashStable<StableHashingContext<'a>> for TraitImpls[src]
impl<'a> HashStable<StableHashingContext<'a>> for TraitImpls[src]fn hash_stable(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)[src]
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher
)
Auto Trait Implementations
impl RefUnwindSafe for TraitImpls
impl Send for TraitImpls
impl Sync for TraitImpls
impl Unpin for TraitImpls
impl UnwindSafe for TraitImpls
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,