Crate rlua [−] [src]
Reexports
pub use self::LuaValue::Nil as LuaNil; |
Modules
ffi |
Structs
LightUserData | |
Lua |
Top level Lua struct which holds the lua state itself. |
LuaError |
The Error type. |
LuaExternalError | |
LuaFunction |
Handle to an an internal lua function |
LuaMultiValue |
Multiple lua values used for both argument passing and also for multiple return values. |
LuaString |
Handle to an an internal lua string |
LuaTable |
Handle to an an internal lua table |
LuaThread |
Handle to an an internal lua coroutine |
LuaUserData |
Handle to an internal instance of custom userdata. All userdata in this API is based around RefCell, to best match the mutable semantics of the lua language. |
LuaUserDataMethods |
Methods added will be added to the __index table on the metatable for the userdata, so they can be called as userdata:method(args) as expected. If there are any regular methods, and an "Index" metamethod is given, it will be called as a fallback if the index doesn't match an existing regular method. |
LuaVariadic |
Enums
LuaErrorKind |
The kind of an error. |
LuaMetaMethod |
These are the metamethods that can be overridden using this API |
LuaThreadStatus |
A LuaThread is Active before the coroutine function finishes, Dead after it finishes, and in Error state if error has been called inside the coroutine. |
LuaValue |
A rust-side handle to an internal Lua value. |
Traits
FromLua |
Trait for types convertible from LuaValue |
FromLuaMulti | |
LuaExternalResult |
Helper trait to convert external error types to a |
LuaResultExt |
Additional methods for |
LuaUserDataType |
Trait for types that can be converted to |
ToLua |
Trait for types convertible to LuaValue |
ToLuaMulti |
Type Definitions
LuaInteger | |
LuaNumber | |
LuaResult |
Convenient wrapper around |