[−][src]Struct ra_ap_hir_ty::method_resolution::InherentImpls
Inherent impls defined in some crate.
Inherent impls can only be defined in the crate that also defines the self type of the impl (note that some primitives are considered to be defined by both libcore and liballoc).
This makes inherent impl lookup easier than trait impl lookup since we only have to consider a single crate.
Implementations
impl InherentImpls
[src]
pub fn for_self_ty(&self, self_ty: &Ty) -> &[ImplId]
[src]
pub fn all_impls(&self) -> impl Iterator<Item = ImplId> + '_
[src]
Trait Implementations
impl Debug for InherentImpls
[src]
impl Eq for InherentImpls
[src]
impl PartialEq<InherentImpls> for InherentImpls
[src]
fn eq(&self, other: &InherentImpls) -> bool
[src]
fn ne(&self, other: &InherentImpls) -> bool
[src]
impl StructuralEq for InherentImpls
[src]
impl StructuralPartialEq for InherentImpls
[src]
Auto Trait Implementations
impl RefUnwindSafe for InherentImpls
impl Send for InherentImpls
impl Sync for InherentImpls
impl Unpin for InherentImpls
impl UnwindSafe for InherentImpls
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
[src]
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
[src]
Self: CastTo<U>,
U: HasInterner,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,