pub struct ExprPathSegment {
pub ident: Identifier,
pub generics: Option<Generics>,
}Fields§
§ident: Identifier§generics: Option<Generics>Trait Implementations§
Source§impl Clone for ExprPathSegment
impl Clone for ExprPathSegment
Source§fn clone(&self) -> ExprPathSegment
fn clone(&self) -> ExprPathSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExprPathSegment
impl Debug for ExprPathSegment
impl Eq for ExprPathSegment
Source§impl Hash for ExprPathSegment
impl Hash for ExprPathSegment
Source§impl PartialEq for ExprPathSegment
impl PartialEq for ExprPathSegment
Source§fn eq(&self, other: &ExprPathSegment) -> bool
fn eq(&self, other: &ExprPathSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExprPathSegment
impl Serialize for ExprPathSegment
impl StructuralPartialEq for ExprPathSegment
Auto Trait Implementations§
impl Freeze for ExprPathSegment
impl RefUnwindSafe for ExprPathSegment
impl Send for ExprPathSegment
impl Sync for ExprPathSegment
impl Unpin for ExprPathSegment
impl UnsafeUnpin for ExprPathSegment
impl UnwindSafe for ExprPathSegment
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