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: LocLocation of the ** operator
in **nil
~~
name_l: LocLocation of the name
in **nil
~~~
expression_l: LocLocation 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 MatchNilPatternimpl Send for MatchNilPatternimpl Sync for MatchNilPatternimpl Unpin for MatchNilPatternimpl UnwindSafe for MatchNilPatternBlanket Implementations
Mutably borrows from an owned value. Read more