Struct lib_ruby_parser::nodes::AndAsgn
source · #[repr(C)]pub struct AndAsgn {
pub recv: Box<Node>,
pub value: Box<Node>,
pub operator_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents a &&= 1
statement.
Fields§
§recv: Box<Node>
Receiver of the &&=
operation.
Lvasgn("a")
node for a &&= 1
value: Box<Node>
Right hand statement of assignment
Int("1")
node for a &&= 1
operator_l: Loc
Location of the &&=
operator
a &&= 1
~~~
expression_l: Loc
Location of the full expression
a &&= 1
~~~~~~~
Trait Implementations§
source§impl PartialEq for AndAsgn
impl PartialEq for AndAsgn
impl StructuralPartialEq for AndAsgn
Auto Trait Implementations§
impl Freeze for AndAsgn
impl RefUnwindSafe for AndAsgn
impl Send for AndAsgn
impl Sync for AndAsgn
impl Unpin for AndAsgn
impl UnwindSafe for AndAsgn
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