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

The <'a, T> in std::slice::iter<'a, T>.

The (A, B) -> C in Fn(A, B) -> C.

Methods

impl PathArguments
[src]

Trait Implementations

impl ToTokens for PathArguments
[src]

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Clone for PathArguments
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PathArguments
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for PathArguments

impl !Sync for PathArguments