#[repr(C)]pub struct LuaReg {
pub name: *const i8,
pub func: Option<LuaCFunction>,
}Expand description
luaL_Reg type, used for defining large amounts of functions with names to be - registered into lua with luaL_register / openlibs.
Fields§
§name: *const i8§func: Option<LuaCFunction>Auto Trait Implementations§
impl Freeze for LuaReg
impl RefUnwindSafe for LuaReg
impl !Send for LuaReg
impl !Sync for LuaReg
impl Unpin for LuaReg
impl UnwindSafe for LuaReg
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