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]

[src]

Trait Implementations

impl ToTokens for PathArguments
[src]

[src]

Write self to the given TokenStream. Read more

[src]

Convert self directly into a TokenStream object. Read more

impl Debug for PathArguments
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for PathArguments
[src]

impl PartialEq for PathArguments
[src]

[src]

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

[src]

This method tests for !=.

impl Hash for PathArguments
[src]

[src]

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

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for PathArguments
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for PathArguments
[src]

[src]

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