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
bound_lifetimes: Option<BoundLifetimes>
Any lifetimes from a for
binding
bounded_ty: Ty
The type being bounded
colon_token: Colon
bounds: Delimited<TyParamBound, Add>
Trait and lifetime bounds (Clone+Send+'static
)
Trait Implementations
impl ToTokens for WhereBoundPredicate
[src]
fn to_tokens(&self, tokens: &mut Tokens)
[src]
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
[src]
Convert self
directly into a Tokens
object. Read more
impl Clone for WhereBoundPredicate
[src]
fn clone(&self) -> WhereBoundPredicate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more