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 moresource§impl Debug for PathExprSegment
impl Debug for PathExprSegment
source§impl Serialize for PathExprSegment
impl Serialize for PathExprSegment
Auto Trait Implementations§
impl RefUnwindSafe for PathExprSegment
impl Send for PathExprSegment
impl Sync for PathExprSegment
impl Unpin for PathExprSegment
impl UnwindSafe for PathExprSegment
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more