Struct futures_await_syn::WhereBoundPredicate [] [src]

pub struct WhereBoundPredicate {
    pub bound_lifetimes: Option<BoundLifetimes>,
    pub bounded_ty: Ty,
    pub colon_token: Colon,
    pub bounds: Delimited<TyParamBound, Add>,
}

A type binding, 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

[src]

Convert self directly into a Tokens object. 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