pub struct LuaRoot { /* private fields */ }Expand description
Generic pinned root. Use for arbitrary Values the embedder
wants to keep alive without wrapping in LuaFunction / LuaTable.
Implementations§
Trait Implementations§
impl Copy for LuaRoot
Source§impl PinnedHandle for LuaRoot
impl PinnedHandle for LuaRoot
Source§fn ticket(&self) -> HostRootTicket
fn ticket(&self) -> HostRootTicket
The ticket this handle wraps.
Auto Trait Implementations§
impl Freeze for LuaRoot
impl RefUnwindSafe for LuaRoot
impl Send for LuaRoot
impl Sync for LuaRoot
impl Unpin for LuaRoot
impl UnsafeUnpin for LuaRoot
impl UnwindSafe for LuaRoot
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