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 |
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 |
Can be used to pass variadic values to or receive variadic values from lua, where the type of the values is all the same and the number of values is defined at runtime. This can be included in an hlist when unpacking, but must be the final entry, and will consume the rest of the parameters given. |
Enums
LuaErrorKind |
The kind of an error. |
LuaMetaMethod |
These are the metamethods that can be overridden using this API |
LuaThreadStatus |
A |
LuaValue |
A rust-side handle to an internal Lua value. |
Traits
FromLua |
Trait for types convertible from |
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 |
ToLuaMulti |
Type Definitions
LuaInteger | |
LuaNumber | |
LuaResult |
Convenient wrapper around |