Enum rustc_hir::hir::WherePredicate [−][src]
pub enum WherePredicate<'hir> {
BoundPredicate(WhereBoundPredicate<'hir>),
RegionPredicate(WhereRegionPredicate<'hir>),
EqPredicate(WhereEqPredicate<'hir>),
}Expand description
A single predicate in a where-clause.
Variants
BoundPredicate(WhereBoundPredicate<'hir>)Expand description
A type binding (e.g., for<'c> Foo: Send + Clone + 'c).
RegionPredicate(WhereRegionPredicate<'hir>)Expand description
A lifetime predicate (e.g., 'a: 'b + 'c).
EqPredicate(WhereEqPredicate<'hir>)Expand description
An equality predicate (unsupported).
Implementations
Trait Implementations
impl<'hir> Debug for WherePredicate<'hir>[src]
impl<'hir> Debug for WherePredicate<'hir>[src]impl<'hir, __CTX> HashStable<__CTX> for WherePredicate<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for WherePredicate<'hir> where
__CTX: HashStableContext, [src]