Crate rlua [] [src]

Reexports

pub use lua::Nil;

Modules

ffi
prelude

Structs

AnyUserData

Handle to an internal Lua userdata for any type that implements UserData.

Function

Handle to an internal Lua function.

LightUserData

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

Lua

Top level Lua struct which holds the Lua state itself.

MultiValue

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

String

Handle to an internal Lua string.

Table

Handle to an internal Lua table.

TablePairs

An iterator over the pairs of a Lua table.

TableSequence

An iterator over the sequence part of a Lua table.

Thread

Handle to an internal Lua thread (or coroutine).

UserDataMethods

Method registry for UserData implementors.

Variadic

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 tuple when unpacking, but must be the final entry, and will consume the rest of the parameters given.

Enums

Error

Error type returned by rlua methods.

MetaMethod

Kinds of metamethods that can be overridden.

ThreadStatus

Status of a Lua thread (or coroutine).

Value

A dynamically typed Lua value.

Traits

ExternalError
ExternalResult
FromLua

Trait for types convertible from Value.

FromLuaMulti

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

ToLua

Trait for types convertible to Value.

ToLuaMulti

Trait for types convertible to any number of Lua values.

UserData

Trait for custom userdata types.

Type Definitions

Integer

Type of Lua integer numbers.

Number

Type of Lua floating point numbers.

Result

A specialized Result type used by rlua's API.