pub enum AssignmentValue {
Scalar(Word),
Array(Vec<(Option<Word>, Word)>),
}Expand description
A value being assigned to a variable.
Variants§
Trait Implementations§
Source§impl Clone for AssignmentValue
impl Clone for AssignmentValue
Source§impl Debug for AssignmentValue
impl Debug for AssignmentValue
Source§impl Display for AssignmentValue
impl Display for AssignmentValue
impl Node for AssignmentValue
Source§impl SourceLocation for AssignmentValue
impl SourceLocation for AssignmentValue
Source§fn location(&self) -> Option<SourceSpan>
fn location(&self) -> Option<SourceSpan>
The location of the syntax item, when known
Auto Trait Implementations§
impl Forget for AssignmentValue
impl Freeze for AssignmentValue
impl Move for AssignmentValue
impl RefUnwindSafe for AssignmentValue
impl Send for AssignmentValue
impl Sync for AssignmentValue
impl Unpin for AssignmentValue
impl UnsafeUnpin for AssignmentValue
impl UnwindSafe for AssignmentValue
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