#[repr(C)]pub struct pm_locals {
pub size: u32,
pub capacity: u32,
pub locals: *mut pm_local_t,
}
Expand description
This is a set of local variables in a certain lexical context (method, class, module, etc.). We need to track how many times these variables are read in order to warn if they only get written.
Fields§
§size: u32
The number of local variables in the set.
capacity: u32
The capacity of the local variables set.
locals: *mut pm_local_t
The nullable allocated memory for the local variables in the set.
Trait Implementations§
impl Copy for pm_locals
Auto Trait Implementations§
impl Freeze for pm_locals
impl RefUnwindSafe for pm_locals
impl !Send for pm_locals
impl !Sync for pm_locals
impl Unpin for pm_locals
impl UnwindSafe for pm_locals
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