Struct syn::WhereBoundPredicate [] [src]

pub struct WhereBoundPredicate {
    pub bound_lifetimes: Vec<LifetimeDef>,
    pub bounded_ty: Ty,
    pub bounds: Vec<TyParamBound>,
}
[]

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 ToTokens for WhereBoundPredicate
[src]

[]

Write self to the given Tokens. Read more

impl Debug for WhereBoundPredicate
[src]

[]

Formats the value using the given formatter.

impl Clone for WhereBoundPredicate
[src]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Eq for WhereBoundPredicate
[src]

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 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.