Enum syn::PathArguments [−][src]
pub enum PathArguments { None, AngleBracketed(AngleBracketedGenericArguments), Parenthesized(ParenthesizedGenericArguments), }
This is supported on crate features
full
or derive
only.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
AngleBracketed(AngleBracketedGenericArguments)
The <'a, T>
in std::slice::iter<'a, T>
.
Parenthesized(ParenthesizedGenericArguments)
The (A, B) -> C
in Fn(A, B) -> C
.
Implementations
impl PathArguments
[src]
impl PathArguments
[src]Trait Implementations
impl Clone for PathArguments
[src]
impl Clone for PathArguments
[src]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PathArguments
[src]
impl Debug for PathArguments
[src]This is supported on crate feature
extra-traits
only.impl Default for PathArguments
[src]
impl Default for PathArguments
[src]impl Eq for PathArguments
[src]
impl Eq for PathArguments
[src]This is supported on crate feature
extra-traits
only.impl Hash for PathArguments
[src]
impl Hash for PathArguments
[src]This is supported on crate feature
extra-traits
only.impl PartialEq<PathArguments> for PathArguments
[src]
impl PartialEq<PathArguments> for PathArguments
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for PathArguments
[src]
impl ToTokens for PathArguments
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for PathArguments
impl RefUnwindSafe for PathArguments
impl !Send for PathArguments
impl !Send for PathArguments
impl !Sync for PathArguments
impl !Sync for PathArguments
impl Unpin for PathArguments
impl Unpin for PathArguments
impl UnwindSafe for PathArguments
impl UnwindSafe for PathArguments