Enum syn::PathArguments [−][src]
pub enum PathArguments {
None,
AngleBracketed(AngleBracketedGenericArguments),
Parenthesized(ParenthesizedGenericArguments),
}
This is supported on crate features
full
or derive
only.Expand description
Angle bracketed or parenthesized arguments of a path segment.
This type is available only 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
None
AngleBracketed(AngleBracketedGenericArguments)
Tuple Fields
The <'a, T>
in std::slice::iter<'a, T>
.
Parenthesized(ParenthesizedGenericArguments)
Tuple Fields
The (A, B) -> C
in Fn(A, B) -> C
.
Implementations
Trait Implementations
impl PartialEq<PathArguments> for PathArguments
This is supported on crate feature extra-traits
only.
impl PartialEq<PathArguments> for PathArguments
This is supported on crate feature
extra-traits
only.Auto Trait Implementations
impl RefUnwindSafe for PathArguments
impl !Send for PathArguments
impl !Sync for PathArguments
impl Unpin for PathArguments
impl UnwindSafe for PathArguments
Blanket Implementations
Mutably borrows from an owned value. Read more