Module rlua::prelude [] [src]

Re-exports most types with an extra Lua* prefix to prevent name clashes.

Reexports

pub use 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 UserData.

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.

LuaScope

Constructed by the Lua::scope method, allows temporarily passing to Lua userdata that is !Send, and callbacks that are !Send and not 'static.

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

LuaUserDataMethods

Method registry for UserData implementors.

Enums

LuaError

Error type returned by rlua methods.

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

FromLuaMulti

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

LuaExternalError
LuaExternalResult
LuaUserData

Trait for custom userdata types.

ToLua

Trait for types convertible to Value.

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 Result type used by rlua's API.