pub struct StmtAssignment {
pub lhs: Vec<Expression>,
pub rhs: Vec<Expression>,
pub span: Span,
pub span_op: Span,
}Expand description
l0, l1, l2 = r0, r1, r2.
variadic ... can be used in both l and r
Fields§
§lhs: Vec<Expression>§rhs: Vec<Expression>§span: Spanspan of the whole assignment statement
span_op: Spanspan of the =
Implementations§
Trait Implementations§
Source§impl Clone for StmtAssignment
impl Clone for StmtAssignment
Source§fn clone(&self) -> StmtAssignment
fn clone(&self) -> StmtAssignment
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 StmtAssignment
impl RefUnwindSafe for StmtAssignment
impl Send for StmtAssignment
impl Sync for StmtAssignment
impl Unpin for StmtAssignment
impl UnwindSafe for StmtAssignment
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