pub struct NativeValue<'a> { /* private fields */ }Expand description
A Lua value inside one native call. It cannot outlive the call: the
lifetime ties it to the NativeCall it came from, and no collection
runs while a native function runs.
Trait Implementations§
Source§impl<'a> Clone for NativeValue<'a>
impl<'a> Clone for NativeValue<'a>
impl<'a> Copy for NativeValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for NativeValue<'a>
impl<'a> RefUnwindSafe for NativeValue<'a>
impl<'a> Send for NativeValue<'a>
impl<'a> Sync for NativeValue<'a>
impl<'a> Unpin for NativeValue<'a>
impl<'a> UnsafeUnpin for NativeValue<'a>
impl<'a> UnwindSafe for NativeValue<'a>
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