Struct lib_ruby_parser::nodes::Gvar
source · #[repr(C)]pub struct Gvar {
pub name: String,
pub expression_l: Loc,
}
Expand description
Represents access to global variable (i.e. $foo
)
Fields§
§name: String
Name of the global variable, String("$foo")
for $foo
expression_l: Loc
Location of the full expression
$foo
~~~~
Trait Implementations§
source§impl PartialEq for Gvar
impl PartialEq for Gvar
impl StructuralPartialEq for Gvar
Auto Trait Implementations§
impl Freeze for Gvar
impl RefUnwindSafe for Gvar
impl Send for Gvar
impl Sync for Gvar
impl Unpin for Gvar
impl UnwindSafe for Gvar
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