[][src]Struct lib_ruby_parser::nodes::Masgn

pub struct Masgn {
    pub lhs: Node,
    pub rhs: Node,
    pub operator_l: Range,
    pub expression_l: Range,
}

Represents mass-assignment (i.e. foo, bar = 1, 2)

Fields

lhs: Node

Left hand statement of the assignment

rhs: Node

Left hand statement of the assignment

operator_l: Range

Location of the = operator

foo, bar = 1, 2
         ~
expression_l: Range

Location of the full expression

foo, bar = 1, 2
~~~~~~~~~~~~~~~

Trait Implementations

impl Clone for Masgn[src]

impl Debug for Masgn[src]

impl PartialEq<Masgn> for Masgn[src]

impl StructuralPartialEq for Masgn[src]

Auto Trait Implementations

impl RefUnwindSafe for Masgn

impl Send for Masgn

impl Sync for Masgn

impl Unpin for Masgn

impl UnwindSafe for Masgn

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.