Struct ruby_prism_sys::pm_options_scope
source · #[repr(C)]pub struct pm_options_scope {
pub locals_count: usize,
pub locals: *mut pm_string_t,
}Expand description
A scope of locals surrounding the code that is being parsed.
Fields§
§locals_count: usizeThe number of locals in the scope.
locals: *mut pm_string_tThe names of the locals in the scope.
Trait Implementations§
source§impl Clone for pm_options_scope
impl Clone for pm_options_scope
source§fn clone(&self) -> pm_options_scope
fn clone(&self) -> pm_options_scope
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for pm_options_scope
impl Debug for pm_options_scope
source§impl Default for pm_options_scope
impl Default for pm_options_scope
impl Copy for pm_options_scope
Auto Trait Implementations§
impl RefUnwindSafe for pm_options_scope
impl !Send for pm_options_scope
impl !Sync for pm_options_scope
impl Unpin for pm_options_scope
impl UnwindSafe for pm_options_scope
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