Struct swc_ecma_ast::AssignExpr
source · [−]pub struct AssignExpr {
pub span: Span,
pub op: AssignOp,
pub left: PatOrExpr,
pub right: Box<Expr>,
}
Fields
span: Span
op: AssignOp
left: PatOrExpr
right: Box<Expr>
Trait Implementations
sourceimpl Clone for AssignExpr
impl Clone for AssignExpr
sourcefn clone(&self) -> AssignExpr
fn clone(&self) -> AssignExpr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AssignExpr
impl Debug for AssignExpr
sourceimpl<'de> Deserialize<'de> for AssignExpr
impl<'de> Deserialize<'de> for AssignExpr
sourcefn 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
sourceimpl EqIgnoreSpan for AssignExpr
impl EqIgnoreSpan for AssignExpr
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<AssignExpr> for Box<Expr>
impl From<AssignExpr> for Box<Expr>
sourcefn from(src: AssignExpr) -> Box<Expr>
fn from(src: AssignExpr) -> Box<Expr>
Converts to this type from the input type.
sourceimpl From<AssignExpr> for Expr
impl From<AssignExpr> for Expr
sourcefn from(v: AssignExpr) -> Self
fn from(v: AssignExpr) -> Self
Converts to this type from the input type.
sourceimpl From<AssignExpr> for PatOrExpr
impl From<AssignExpr> for PatOrExpr
sourcefn from(src: AssignExpr) -> PatOrExpr
fn from(src: AssignExpr) -> PatOrExpr
Converts to this type from the input type.
sourceimpl Hash for AssignExpr
impl Hash for AssignExpr
sourceimpl PartialEq<AssignExpr> for AssignExpr
impl PartialEq<AssignExpr> for AssignExpr
sourcefn eq(&self, other: &AssignExpr) -> bool
fn eq(&self, other: &AssignExpr) -> bool
sourceimpl Serialize for AssignExpr
impl Serialize for AssignExpr
sourceimpl Spanned for AssignExpr
impl Spanned for AssignExpr
sourceimpl Take for AssignExpr
impl Take for AssignExpr
impl Eq for AssignExpr
impl StructuralEq for AssignExpr
impl StructuralPartialEq for AssignExpr
Auto Trait Implementations
impl RefUnwindSafe for AssignExpr
impl Send for AssignExpr
impl Sync for AssignExpr
impl Unpin for AssignExpr
impl UnwindSafe for AssignExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more