Struct sway_ast::path::PathExprSegment
source · pub struct PathExprSegment {
pub name: Ident,
pub generics_opt: Option<(DoubleColonToken, GenericArgs)>,
}Fields§
§name: Ident§generics_opt: Option<(DoubleColonToken, GenericArgs)>Trait Implementations§
source§impl Clone for PathExprSegment
impl Clone for PathExprSegment
source§fn clone(&self) -> PathExprSegment
fn clone(&self) -> PathExprSegment
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 more