pub enum AssignTarget {
Simple(String),
Stem {
stem: String,
tail: Vec<TailElement>,
},
}Expand description
Assignment targets — simple variables or stem compounds.
Variants§
Trait Implementations§
Source§impl Clone for AssignTarget
impl Clone for AssignTarget
Source§fn clone(&self) -> AssignTarget
fn clone(&self) -> AssignTarget
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 moreAuto Trait Implementations§
impl Freeze for AssignTarget
impl RefUnwindSafe for AssignTarget
impl Send for AssignTarget
impl Sync for AssignTarget
impl Unpin for AssignTarget
impl UnsafeUnpin for AssignTarget
impl UnwindSafe for AssignTarget
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