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