pub enum AssignmentName {
VariableName(String),
ArrayElementName(String, String),
}Expand description
The target of an assignment.
Variants§
VariableName(String)
A named variable.
ArrayElementName(String, String)
An element in a named array.
Trait Implementations§
Source§impl Clone for AssignmentName
impl Clone for AssignmentName
Source§fn clone(&self) -> AssignmentName
fn clone(&self) -> AssignmentName
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 AssignmentName
impl Debug for AssignmentName
Auto Trait Implementations§
impl Freeze for AssignmentName
impl RefUnwindSafe for AssignmentName
impl Send for AssignmentName
impl Sync for AssignmentName
impl Unpin for AssignmentName
impl UnwindSafe for AssignmentName
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