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 Debug for PathArguments
[src]

Formats the value using the given formatter. Read more

impl Eq for PathArguments
[src]

impl PartialEq for PathArguments
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for PathArguments
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. 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