pub enum LeftHandExpression {
Name {
variable: Token,
},
Deref {
operator: Token,
name: Token,
},
Field {
base: Box<LeftHandExpression>,
dot: Token,
field: Token,
},
}Variants§
Name
Deref
Field
A field of a place: base.field. base may itself be a Name or another
Field (field paths), enabling nested writes like foo.x.y = 1.
Implementations§
Trait Implementations§
Source§impl Clone for LeftHandExpression
impl Clone for LeftHandExpression
Source§fn clone(&self) -> LeftHandExpression
fn clone(&self) -> LeftHandExpression
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 moreAuto Trait Implementations§
impl Freeze for LeftHandExpression
impl RefUnwindSafe for LeftHandExpression
impl Send for LeftHandExpression
impl Sync for LeftHandExpression
impl Unpin for LeftHandExpression
impl UnsafeUnpin for LeftHandExpression
impl UnwindSafe for LeftHandExpression
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