pub struct LuaFunctionLua {
pub upvalues: Vec<Rc<RefCell<LuaValue>>>,
pub function_id: usize,
}Expand description
functions written in Lua
Fields§
§upvalues: Vec<Rc<RefCell<LuaValue>>>upvalues for this function object
function_id: usizeactual set of instructions connected to this function object
Trait Implementations§
source§impl Clone for LuaFunctionLua
impl Clone for LuaFunctionLua
source§fn clone(&self) -> LuaFunctionLua
fn clone(&self) -> LuaFunctionLua
Returns a copy 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 LuaFunctionLua
impl !RefUnwindSafe for LuaFunctionLua
impl !Send for LuaFunctionLua
impl !Sync for LuaFunctionLua
impl Unpin for LuaFunctionLua
impl !UnwindSafe for LuaFunctionLua
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)