Enum lua::Library
[−]
[src]
pub enum Library { Base, Coroutine, Table, Io, Os, String, Utf8, Bit32, Math, Debug, Package, }
Represents all built-in libraries
Variants
Base
Coroutine
Table
Io
Os
String
Utf8
Bit32
Math
Debug
Package
Methods
impl Library
[src]
fn name(&self) -> &'static str
The name of the module in lua code
fn loader(&self) -> unsafe extern "C" fn(_: *mut lua_State) -> c_int
Returns C function that may be used to load the library
Trait Implementations
impl Debug for Library
[src]
impl Clone for Library
[src]
fn clone(&self) -> Library
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Library
[src]
impl PartialEq for Library
[src]
fn eq(&self, __arg_0: &Library) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.