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: LocLocation of the ^ operator
case foo; in ^bar; end
~expression_l: LocLocation 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