pub struct StackValue {
pub val: LuaValue,
pub tbc_delta: u16,
}Expand description
One slot on the Lua value stack. Wraps a LuaValue and an optional
to-be-closed delta (for the tbclist mechanism).
types.tsv: StackValue → StackValue { val: LuaValue, tbclist.delta: u16 }
Fields§
§val: LuaValue§tbc_delta: u16Trait Implementations§
Source§impl Clone for StackValue
impl Clone for StackValue
Source§fn clone(&self) -> StackValue
fn clone(&self) -> StackValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StackValue
impl !RefUnwindSafe for StackValue
impl !Send for StackValue
impl !Sync for StackValue
impl Unpin for StackValue
impl UnsafeUnpin for StackValue
impl !UnwindSafe for StackValue
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