Crate rlua [] [src]

Reexports

pub use self::LuaValue::Nil as LuaNil;

Modules

ffi

Structs

LightUserData

A "light" userdata value. Equivalent to an unmanaged raw pointer.

Lua

Top level Lua struct which holds the Lua state itself.

LuaFunction

Handle to an internal Lua function.

LuaMultiValue

Multiple Lua values used for both argument passing and also for multiple return values.

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).

LuaUserData

Handle to an internal Lua userdata for a type that implements LuaUserDataType. Internally, instances are stored in a RefCell, to best match the mutable semantics of the Lua language.

LuaUserDataMethods

Stores methods of a userdata object.

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

LuaError
LuaMetaMethod

Kinds of metamethods that can be overridden.

LuaThreadStatus

Status of a Lua thread (or coroutine).

LuaValue

A dynamically typed Lua value.

Traits

FromLua

Trait for types convertible from LuaValue.

FromLuaMulti

Trait for types that can be created from an arbitrary number of Lua values.

LuaExternalError
LuaExternalResult
LuaUserDataType

Trait for custom userdata types.

ToLua

Trait for types convertible to LuaValue.

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