pub struct AssignExpr {
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 AssignExpr
impl Clone for AssignExpr
Source§fn clone(&self) -> AssignExpr
fn clone(&self) -> AssignExpr
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 AssignExpr
impl Debug for AssignExpr
Source§impl<'de> Deserialize<'de> for AssignExpr
impl<'de> Deserialize<'de> for AssignExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AssignExpr
impl PartialEq for AssignExpr
Source§impl Serialize for AssignExpr
impl Serialize for AssignExpr
impl StructuralPartialEq for AssignExpr
Auto Trait Implementations§
impl Freeze for AssignExpr
impl RefUnwindSafe for AssignExpr
impl Send for AssignExpr
impl Sync for AssignExpr
impl Unpin for AssignExpr
impl UnwindSafe for AssignExpr
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