pub enum LuaClosure {
Lua(GcRef<LuaLClosure>),
C(GcRef<LuaCClosure>),
LightC(LuaCFnPtr),
}Variants§
Trait Implementations§
Source§impl Clone for LuaClosure
impl Clone for LuaClosure
Source§fn clone(&self) -> LuaClosure
fn clone(&self) -> LuaClosure
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 moreSource§impl Debug for LuaClosure
impl Debug for LuaClosure
Source§impl Trace for LuaClosure
LuaClosure — dispatch to Lua/C variants; LightC is a bare function-ptr
index with no payload.
impl Trace for LuaClosure
LuaClosure — dispatch to Lua/C variants; LightC is a bare function-ptr index with no payload.
impl Copy for LuaClosure
Auto Trait Implementations§
impl Freeze for LuaClosure
impl !RefUnwindSafe for LuaClosure
impl !Send for LuaClosure
impl !Sync for LuaClosure
impl Unpin for LuaClosure
impl UnsafeUnpin for LuaClosure
impl !UnwindSafe for LuaClosure
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