Struct syntex_syntax::ast::WhereBoundPredicate [] [src]

pub struct WhereBoundPredicate {
    pub span: Span,
    pub bound_lifetimes: Vec<LifetimeDef>,
    pub bounded_ty: P<Ty>,
    pub bounds: TyParamBounds,
}

A type bound.

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

Fields

Any lifetimes 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 PartialEq for WhereBoundPredicate
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for WhereBoundPredicate
[src]

impl Encodable for WhereBoundPredicate
[src]

Serialize a value using an Encoder.

impl Decodable for WhereBoundPredicate
[src]

Deserialize a value using a Decoder.

impl Hash for WhereBoundPredicate
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for WhereBoundPredicate
[src]

Formats the value using the given formatter.