Struct rustc_hir::WhereBoundPredicate [−][src]
pub struct WhereBoundPredicate<'hir> {
pub span: Span,
pub bound_generic_params: &'hir [GenericParam<'hir>],
pub bounded_ty: &'hir Ty<'hir>,
pub bounds: GenericBounds<'hir>,
}Expand description
A type bound (e.g., for<'c> Foo: Send + Clone + 'c).
Fields
span: Spanbound_generic_params: &'hir [GenericParam<'hir>]Expand description
Any generics from a for binding.
bounded_ty: &'hir Ty<'hir>Expand description
The type being bounded.
bounds: GenericBounds<'hir>Expand description
Trait and lifetime bounds (e.g., Clone + Send + 'static).
Trait Implementations
impl<'hir> Debug for WhereBoundPredicate<'hir>[src]
impl<'hir> Debug for WhereBoundPredicate<'hir>[src]impl<'hir, __CTX> HashStable<__CTX> for WhereBoundPredicate<'hir> where
__CTX: HashStableContext, [src]
impl<'hir, __CTX> HashStable<__CTX> for WhereBoundPredicate<'hir> where
__CTX: HashStableContext, [src]