Struct syntax::ast::WhereBoundPredicate[][src]

pub struct WhereBoundPredicate {
    pub span: Span,
    pub bound_generic_params: Vec<GenericParam>,
    pub bounded_ty: P<Ty>,
    pub bounds: GenericBounds,
}

A type bound.

E.g. for<'c> Foo: Send+Clone+'c

Fields

Any generics from a for binding

The type being bounded

Trait and lifetime bounds (Clone+Send+'static)

Trait Implementations

impl Clone for WhereBoundPredicate
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for WhereBoundPredicate
[src]

impl Decodable for WhereBoundPredicate
[src]

impl Debug for WhereBoundPredicate
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations