pub enum LuaCallable {
Bare(LuaCFunction),
Rust(LuaRustFunction),
}Variants§
Bare(LuaCFunction)
Rust(LuaRustFunction)
Implementations§
Source§impl LuaCallable
impl LuaCallable
Trait Implementations§
Source§impl Clone for LuaCallable
impl Clone for LuaCallable
Source§fn clone(&self) -> LuaCallable
fn clone(&self) -> LuaCallable
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 LuaCallable
impl !RefUnwindSafe for LuaCallable
impl !Send for LuaCallable
impl !Sync for LuaCallable
impl Unpin for LuaCallable
impl UnsafeUnpin for LuaCallable
impl !UnwindSafe for LuaCallable
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