Struct syn::PathSegment [−][src]
pub struct PathSegment { pub ident: Ident, pub arguments: PathArguments, }
A segment of a path together with any path arguments on that segment.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
ident: Ident
arguments: PathArguments
Trait Implementations
impl Clone for PathSegment
[src]
impl Clone for PathSegment
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for PathSegment
[src]
impl Hash for PathSegment
[src]impl Parse for PathSegment
[src]
impl Parse for PathSegment
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<PathSegment> for PathSegment
[src]
impl PartialEq<PathSegment> for PathSegment
[src]impl ToTokens for PathSegment
[src]
impl ToTokens for PathSegment
[src]