pub struct DynLocal {
pub name: Vec<u8>,
pub frame_ref: u32,
pub number: u16,
pub context: u16,
}Expand description
A variable of a running function, which the code reads and sets through the object that stands for the function’s call.
Fields§
§name: Vec<u8>The variable’s name.
frame_ref: u32The number of the object that stands for the call.
number: u16The variable’s number among the call’s: its locals, then its arguments.
context: u16For a variable shared with an anonymous function, its index in the context object the variable holds; otherwise 0.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DynLocal
impl Freeze for DynLocal
impl Move for DynLocal
impl RefUnwindSafe for DynLocal
impl Send for DynLocalwhere
RawVecInner: Send,
impl Sync for DynLocalwhere
RawVecInner: Sync,
impl Unpin for DynLocal
impl UnsafeUnpin for DynLocal
impl UnwindSafe for DynLocalwhere
RawVecInner: UnwindSafe,
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