Struct unrest_tmp_syn::AngleBracketedParameterData
[−]
[src]
pub struct AngleBracketedParameterData { pub turbofish: Option<Colon2>, pub lt_token: Lt, pub lifetimes: Delimited<Lifetime, Comma>, pub types: Delimited<Ty, Comma>, pub bindings: Delimited<TypeBinding, Comma>, pub gt_token: Gt, }
A path like Foo<'a, T>
Fields
turbofish: Option<Colon2>
lt_token: Lt
lifetimes: Delimited<Lifetime, Comma>
The lifetime parameters for this path segment.
types: Delimited<Ty, Comma>
The type parameters for this path segment, if present.
bindings: Delimited<TypeBinding, Comma>
Bindings (equality constraints) on associated types, if present.
E.g., Foo<A=Bar>
.
gt_token: Gt
Trait Implementations
impl ToTokens for AngleBracketedParameterData
[src]
fn to_tokens(&self, tokens: &mut Tokens)
Write self
to the given Tokens
. Read more
fn into_tokens(self) -> Tokens
Convert self
directly into a Tokens
object. Read more
impl Clone for AngleBracketedParameterData
[src]
fn clone(&self) -> AngleBracketedParameterData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more