#[repr(C)]pub struct pm_local_t {
pub name: pm_constant_id_t,
pub location: pm_location_t,
pub index: u32,
pub reads: u32,
pub hash: u32,
}
Expand description
This tracks an individual local variable in a certain lexical context, as well as the number of times is it read.
Fields§
§name: pm_constant_id_t
The name of the local variable.
location: pm_location_t
The location of the local variable in the source.
index: u32
The index of the local variable in the local table.
reads: u32
The number of times the local variable is read.
hash: u32
The hash of the local variable.
Trait Implementations§
Source§impl Clone for pm_local_t
impl Clone for pm_local_t
Source§fn clone(&self) -> pm_local_t
fn clone(&self) -> pm_local_t
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_local_t
impl Debug for pm_local_t
Source§impl Default for pm_local_t
impl Default for pm_local_t
impl Copy for pm_local_t
Auto Trait Implementations§
impl Freeze for pm_local_t
impl RefUnwindSafe for pm_local_t
impl !Send for pm_local_t
impl !Sync for pm_local_t
impl Unpin for pm_local_t
impl UnwindSafe for pm_local_t
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