Crate hlua [−] [src]
Macros
implement_lua_push | |
implement_lua_read |
Structs
Function |
Opaque type containing a Rust function or closure. |
InsideCallback |
Opaque type that represents the Lua context when inside a callback. |
Lua |
Main object of the library. |
LuaCode |
Wrapper around a |
LuaCodeFromReader |
Wrapper around a |
LuaContext |
Opaque type that contains the raw Lua context. |
LuaFunction |
Handle to a function in the Lua context. |
LuaTable |
Represents a table stored in the Lua context. |
LuaTableIterator |
Iterator that enumerates the content of a Lua table. |
PushGuard |
RAII guard for a value pushed on the stack. |
UserdataOnStack |
Represents a user data located inside the Lua context. |
Enums
AnyLuaValue |
Represents any value that can be stored by Lua |
LuaError |
Error that can happen when executing Lua code. |
Void |
Type that cannot be instantiated. |
Traits
AsLua |
Trait for objects that have access to a Lua context. When using a context returned by a
|
AsMutLua |
Trait for objects that have access to a Lua context. You are allowed to modify the stack, but it must be in the same state as it was when you started. |
LuaRead |
Types that can be obtained from a Lua context. |
Push |
Types that can be given to a Lua context, for example with |
PushOne |
Extension trait for |
Functions
function0 |
Wraps a type that implements |
function1 |
Wraps a type that implements |
function10 |
Wraps a type that implements |
function2 |
Wraps a type that implements |
function3 |
Wraps a type that implements |
function4 |
Wraps a type that implements |
function5 |
Wraps a type that implements |
function6 |
Wraps a type that implements |
function7 |
Wraps a type that implements |
function8 |
Wraps a type that implements |
function9 |
Wraps a type that implements |
push_userdata |
Pushes an object as a user data. |
read_userdata |