Struct lib_ruby_parser::nodes::NthRef
source · #[repr(C)]pub struct NthRef {
pub name: String,
pub expression_l: Loc,
}
Expand description
Represents numeric global variable (e.g. $1
)
Fields§
§name: String
Name of the variable, String("1")
for $1
expression_l: Loc
Location of the full expression
$1
~~
Trait Implementations§
source§impl PartialEq for NthRef
impl PartialEq for NthRef
impl StructuralPartialEq for NthRef
Auto Trait Implementations§
impl Freeze for NthRef
impl RefUnwindSafe for NthRef
impl Send for NthRef
impl Sync for NthRef
impl Unpin for NthRef
impl UnwindSafe for NthRef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more