Enum rustc_hir::TypeBindingKind [−][src]
pub enum TypeBindingKind<'hir> {
Constraint {
bounds: &'hir [GenericBound<'hir>],
},
Equality {
ty: &'hir Ty<'hir>,
},
}Variants
Expand description
E.g., Foo<Bar: Send>.
Show fields
Fields of Constraint
bounds: &'hir [GenericBound<'hir>]Expand description
E.g., Foo<Bar = ()>.
Show fields
Fields of Equality
ty: &'hir Ty<'hir>Trait Implementations
impl<'hir> Debug for TypeBindingKind<'hir>[src]
impl<'hir> Debug for TypeBindingKind<'hir>[src]impl<'hir, __CTX> HashStable<__CTX> for TypeBindingKind<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for TypeBindingKind<'hir> where
__CTX: HashStableContext, [src]