Struct lib_ruby_parser::nodes::AndAsgn[][src]

pub struct AndAsgn {
    pub recv: Box<Node>,
    pub value: Box<Node>,
    pub operator_l: Loc,
    pub expression_l: Loc,
}

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

impl Clone for AndAsgn[src]

impl Debug for AndAsgn[src]

impl PartialEq<AndAsgn> for AndAsgn[src]

impl StructuralPartialEq for AndAsgn[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.