Struct lib_ruby_parser::nodes::Pin [−][src]
Expand description
Represents a pattern based on a “pinned” variable (e.g. ^foo
)
Fields
var: Box<Node>
Variable that is pinned
selector_l: Loc
Location of the ^
operator
case foo; in ^bar; end
~
expression_l: Loc
Location of the full expression
case foo; in ^bar; end
~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pin
impl UnwindSafe for Pin
Blanket Implementations
Mutably borrows from an owned value. Read more