Struct rustc_ap_rustc_ast::ast::WhereBoundPredicate [−][src]
pub struct WhereBoundPredicate { pub span: Span, pub bound_generic_params: Vec<GenericParam>, pub bounded_ty: P<Ty>, pub bounds: GenericBounds, }
Expand description
A type bound.
E.g., for<'c> Foo: Send + Clone + 'c
.
Fields
span: Span
bound_generic_params: Vec<GenericParam>
Any generics from a for
binding.
bounded_ty: P<Ty>
The type being bounded.
bounds: GenericBounds
Trait and lifetime bounds (Clone + Send + 'static
).
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for WhereBoundPredicate
impl !Send for WhereBoundPredicate
impl !Sync for WhereBoundPredicate
impl Unpin for WhereBoundPredicate
impl !UnwindSafe for WhereBoundPredicate
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V