pub struct StdLib(/* private fields */);Expand description
A bit-set selecting which standard libraries to open. Mirrors mlua::StdLib.
DEVIATION: luaur opens the Luau base libraries as a single unit
(luaL_openlibs); the individual Lua-5.x library bits cannot be toggled
independently. StdLib::NONE opens nothing; any non-empty selection opens
the full Luau standard library.
Implementations§
Trait Implementations§
Source§impl BitOrAssign for StdLib
impl BitOrAssign for StdLib
Source§fn bitor_assign(&mut self, rhs: StdLib)
fn bitor_assign(&mut self, rhs: StdLib)
Performs the
|= operation. Read moreimpl Copy for StdLib
impl Eq for StdLib
impl StructuralPartialEq for StdLib
Auto Trait Implementations§
impl Freeze for StdLib
impl RefUnwindSafe for StdLib
impl Send for StdLib
impl Sync for StdLib
impl Unpin for StdLib
impl UnsafeUnpin for StdLib
impl UnwindSafe for StdLib
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