Struct devise::syn::PathSegment
source · pub struct PathSegment {
pub ident: Ident,
pub arguments: PathArguments,
}
Expand description
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§
source§impl Clone for PathSegment
impl Clone for PathSegment
source§fn clone(&self) -> PathSegment
fn clone(&self) -> PathSegment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PathSegment
impl Debug for PathSegment
source§impl<T> From<T> for PathSegmentwhere
T: Into<Ident>,
impl<T> From<T> for PathSegmentwhere
T: Into<Ident>,
source§fn from(ident: T) -> PathSegment
fn from(ident: T) -> PathSegment
Converts to this type from the input type.