Struct roost_lang::nodes::AssignExpr
source · [−]pub struct AssignExpr {
pub span: Span,
pub left: CallExpr,
pub right: Option<(TokenKind, Expression)>,
}
Fields
span: Span
left: CallExpr
right: Option<(TokenKind, Expression)>
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 more
sourceimpl Debug for AssignExpr
impl Debug for AssignExpr
sourceimpl PartialEq<AssignExpr> for AssignExpr
impl PartialEq<AssignExpr> for AssignExpr
sourcefn eq(&self, other: &AssignExpr) -> bool
fn eq(&self, other: &AssignExpr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AssignExpr) -> bool
fn ne(&self, other: &AssignExpr) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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