#[repr(C)]pub struct pm_options_scope {
pub locals_count: usize,
pub locals: *mut pm_string_t,
pub forwarding: u8,
}
Expand description
A scope of locals surrounding the code that is being parsed.
Fields§
§locals_count: usize
The number of locals in the scope.
locals: *mut pm_string_t
The names of the locals in the scope.
forwarding: u8
Flags for the set of forwarding parameters in this 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 Freeze for pm_options_scope
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