Enum syn::PathArguments[][src]

pub enum PathArguments {

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>.


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


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

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


impl PathArguments

Trait Implementations

impl ToTokens for PathArguments

Write self to the given TokenStream. Read more

Convert self directly into a TokenStream object. Read more

impl Debug for PathArguments

Formats the value using the given formatter. Read more

impl Eq for PathArguments

impl PartialEq for PathArguments

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for PathArguments

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

Auto Trait Implementations

impl !Send for PathArguments

impl !Sync for PathArguments