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]

[src]
[]

Write self to the given Tokens. Read more

impl Debug for WhereBoundPredicate
[src]

[src]
[]

Formats the value using the given formatter. Read more

impl Clone for WhereBoundPredicate
[src]

[src]
[]

Returns a copy of the value. Read more

1.0.0
[src]
[]

Performs copy-assignment from source. Read more

impl Eq for WhereBoundPredicate
[src]

impl PartialEq for WhereBoundPredicate
[src]

[src]
[]

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

[src]
[]

This method tests for !=.

impl Hash for WhereBoundPredicate
[src]

[src]
[]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]
[]

Feeds a slice of this type into the given [Hasher]. Read more