Struct lib_ruby_parser::nodes::MatchNilPattern [−][src]
#[repr(C)]pub struct MatchNilPattern { pub operator_l: Loc, pub name_l: Loc, pub expression_l: Loc, }
Expand description
Represents empty hash pattern that is used in pattern matching (i.e. in **nil
)
Fields
operator_l: Loc
Location of the **
operator
in **nil
~~
name_l: Loc
Location of the name
in **nil
~~~
expression_l: Loc
Location of the full expression
in **nil
~~~~~
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MatchNilPattern
impl Send for MatchNilPattern
impl Sync for MatchNilPattern
impl Unpin for MatchNilPattern
impl UnwindSafe for MatchNilPattern
Blanket Implementations
Mutably borrows from an owned value. Read more