Enum syn::PathArguments
source · [−]pub enum PathArguments {
None,
AngleBracketed(AngleBracketedGenericArguments),
Parenthesized(ParenthesizedGenericArguments),
}
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)
The <'a, T>
in std::slice::iter<'a, T>
.
Parenthesized(ParenthesizedGenericArguments)
The (A, B) -> C
in Fn(A, B) -> C
.
Implementations
sourceimpl PathArguments
impl PathArguments
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more