Enum syn::PathArguments
[−]
[src]
pub enum PathArguments {
None,
AngleBracketed(AngleBracketedGenericArguments),
Parenthesized(ParenthesizedGenericArguments),
}Angle bracketed or parenthesized arguments of a path segment.
This type is available if Syn is built with the "derive" or "full"
feature.
Angle bracketed
The <'a, T> in std::slice::iter<'a, T>.
Parenthesized
The (A, B) -> C in Fn(A, B) -> C.
Variants
NoneAngleBracketed(AngleBracketedGenericArguments)The <'a, T> in std::slice::iter<'a, T>.
Parenthesized(ParenthesizedGenericArguments)The (A, B) -> C in Fn(A, B) -> C.
Methods
impl PathArguments[src]
Trait Implementations
impl ToTokens for PathArguments[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 PathArguments[src]
fn clone(&self) -> PathArguments[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