pub struct AssignStmt {
pub target: Expr,
pub op: AssignOp,
pub value: Expr,
pub span: Span,
}Fields§
§target: Expr§op: AssignOp§value: Expr§span: SpanTrait Implementations§
Source§impl Clone for AssignStmt
impl Clone for AssignStmt
Source§fn clone(&self) -> AssignStmt
fn clone(&self) -> AssignStmt
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 AssignStmt
impl Debug for AssignStmt
Source§impl PartialEq for AssignStmt
impl PartialEq for AssignStmt
impl StructuralPartialEq for AssignStmt
Auto Trait Implementations§
impl Freeze for AssignStmt
impl RefUnwindSafe for AssignStmt
impl Send for AssignStmt
impl Sync for AssignStmt
impl Unpin for AssignStmt
impl UnwindSafe for AssignStmt
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