Enum rustc_hir::hir::ImplItemKind [−][src]
pub enum ImplItemKind<'hir> {
Const(&'hir Ty<'hir>, BodyId),
Fn(FnSig<'hir>, BodyId),
TyAlias(&'hir Ty<'hir>),
}Expand description
Represents various kinds of content within an impl.
Variants
Expand description
An associated constant of the given type, set to the constant result of the expression.
Expand description
An associated function implementation with the given signature and body.
TyAlias(&'hir Ty<'hir>)Expand description
An associated type.
Trait Implementations
impl<'hir> Debug for ImplItemKind<'hir>[src]
impl<'hir> Debug for ImplItemKind<'hir>[src]impl<'hir, __CTX> HashStable<__CTX> for ImplItemKind<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for ImplItemKind<'hir> where
__CTX: HashStableContext, [src]