Struct syn::PathSegment [−][src]
A segment of a path together with any path arguments on that segment.
This type is available if Syn is built with the "derive"
or "full"
feature.
Fields
ident: Ident
arguments: PathArguments
Trait Implementations
impl Synom for PathSegment
[src]
[+]
impl Synom for PathSegment
impl ToTokens for PathSegment
[src]
[+]
impl ToTokens for PathSegment
impl Clone for PathSegment
[src]
[+]
impl Clone for PathSegment
impl<T> From<T> for PathSegment where
T: Into<Ident>,
[src]
[+]
impl<T> From<T> for PathSegment where
T: Into<Ident>,
Auto Trait Implementations
impl !Send for PathSegment
impl !Send for PathSegment
impl !Sync for PathSegment
impl !Sync for PathSegment