pub struct Impl {
pub generic_params: Interned<GenericParams>,
pub target_trait: Option<Interned<TraitRef>>,
pub self_ty: Interned<TypeRef>,
pub is_negative: bool,
pub is_unsafe: bool,
pub items: Box<[AssocItem]>,
pub ast_id: FileAstId<Impl>,
}
Fields§
§generic_params: Interned<GenericParams>
§target_trait: Option<Interned<TraitRef>>
§self_ty: Interned<TypeRef>
§is_negative: bool
§is_unsafe: bool
§items: Box<[AssocItem]>
§ast_id: FileAstId<Impl>
Trait Implementations§
source§impl GenericsItemTreeNode for Impl
impl GenericsItemTreeNode for Impl
fn generic_params(&self) -> &Interned<GenericParams>
source§impl ItemTreeNode for Impl
impl ItemTreeNode for Impl
source§impl PartialEq for Impl
impl PartialEq for Impl
impl Eq for Impl
impl StructuralPartialEq for Impl
Auto Trait Implementations§
impl Freeze for Impl
impl RefUnwindSafe for Impl
impl Send for Impl
impl Sync for Impl
impl Unpin for Impl
impl UnwindSafe for Impl
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.