pub enum VarSegment {
Field(String),
}Expand description
A segment in a variable path.
Variants§
Trait Implementations§
Source§impl Clone for VarSegment
impl Clone for VarSegment
Source§fn clone(&self) -> VarSegment
fn clone(&self) -> VarSegment
Returns a duplicate 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 VarSegment
impl Debug for VarSegment
Source§impl PartialEq for VarSegment
impl PartialEq for VarSegment
impl StructuralPartialEq for VarSegment
Auto Trait Implementations§
impl Freeze for VarSegment
impl RefUnwindSafe for VarSegment
impl Send for VarSegment
impl Sync for VarSegment
impl Unpin for VarSegment
impl UnwindSafe for VarSegment
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