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


Any lifetimes from a for binding

The type being bounded

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

Trait Implementations

impl ToTokens for WhereBoundPredicate

impl Debug for WhereBoundPredicate

Formats the value using the given formatter.

impl Clone for WhereBoundPredicate

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for WhereBoundPredicate

impl PartialEq for WhereBoundPredicate

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

This method tests for !=.