Struct ra_ap_hir_def::item_tree::Impl [−][src]
pub struct Impl { pub generic_params: Interned<GenericParams>, pub target_trait: Option<Interned<TraitRef>>, pub self_ty: Interned<TypeRef>, pub is_negative: 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
items: Box<[AssocItem]>
ast_id: FileAstId<Impl>
Trait Implementations
Looks up an instance of Self
in an item tree.
Downcasts a ModItem
to a FileItemTreeId
specific to this type.
Upcasts a FileItemTreeId
to a generic ModItem
.
Auto Trait Implementations
impl RefUnwindSafe for Impl
impl UnwindSafe for Impl
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.