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