pub struct Lua { /* private fields */ }Implementations§
Source§impl Lua
impl Lua
pub fn new_with_allocator<A: LuaAllocator + 'static>( allocator: A, ) -> Option<Self>
Sourcepub fn main_thread(&self) -> &Thread
pub fn main_thread(&self) -> &Thread
lua_mainthread
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Lua
impl !Send for Lua
impl !Sync for Lua
impl !UnwindSafe for Lua
impl Freeze for Lua
impl Unpin for Lua
impl UnsafeUnpin for Lua
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