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 moreimpl Copy for LuaClosure
Source§impl Debug for LuaClosure
impl Debug for LuaClosure
Auto Trait Implementations§
impl !RefUnwindSafe for LuaClosure
impl !Send for LuaClosure
impl !Sync for LuaClosure
impl !UnwindSafe for LuaClosure
impl Freeze for LuaClosure
impl Unpin for LuaClosure
impl UnsafeUnpin 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