pub struct LuaFunction {
pub id: usize,
pub name: Option<String>,
pub cfunc: lua_CFunction,
pub lust_handle: Option<usize>,
pub upvalues: Vec<LuaValue>,
}Fields§
§id: usize§name: Option<String>§cfunc: lua_CFunction§lust_handle: Option<usize>§upvalues: Vec<LuaValue>Trait Implementations§
Source§impl Clone for LuaFunction
impl Clone for LuaFunction
Source§fn clone(&self) -> LuaFunction
fn clone(&self) -> LuaFunction
Returns a duplicate of the value. Read more
1.0.0 · 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 LuaFunction
impl !RefUnwindSafe for LuaFunction
impl !Send for LuaFunction
impl !Sync for LuaFunction
impl Unpin for LuaFunction
impl UnsafeUnpin for LuaFunction
impl !UnwindSafe for LuaFunction
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