[−][src]Module mlua::prelude
Re-exports most types with an extra Lua*
prefix to prevent name clashes.
Re-exports
pub use crate::Nil as LuaNil; |
Structs
Lua | Top level Lua struct which holds the Lua state itself. |
LuaAnyUserData | Handle to an internal Lua userdata for any type that implements |
LuaAsyncThread | async Thread (coroutine) representation as an async |
LuaChunk | Returned from |
LuaFunction | Handle to an internal Lua function. |
LuaLightUserData | A "light" userdata value. Equivalent to an unmanaged raw pointer. |
LuaMultiValue | Multiple Lua values used for both argument passing and also for multiple return values. |
LuaRegistryKey | An auto generated key into the Lua registry. |
LuaString | Handle to an internal Lua string. |
LuaTable | Handle to an internal Lua table. |
LuaTablePairs | An iterator over the pairs of a Lua table. |
LuaTableSequence | An iterator over the sequence part of a Lua table. |
LuaThread | Handle to an internal Lua thread (or coroutine). |
Enums
LuaError | Error type returned by |
LuaGCMode | Mode of the Lua garbage collector (GC). |
LuaMetaMethod | Kinds of metamethods that can be overridden. |
LuaThreadStatus | Status of a Lua thread (or coroutine). |
LuaValue | A dynamically typed Lua value. The |
Traits
FromLua | Trait for types convertible from |
FromLuaMulti | Trait for types that can be created from an arbitrary number of Lua values. |
LuaExternalError | |
LuaExternalResult | |
LuaTableExt | An extension trait for |
LuaUserData | Trait for custom userdata types. |
LuaUserDataMethods | Method registry for |
ToLua | Trait for types convertible to |
ToLuaMulti | Trait for types convertible to any number of Lua values. |
Type Definitions
LuaInteger | Type of Lua integer numbers. |
LuaNumber | Type of Lua floating point numbers. |
LuaResult | A specialized |