Expand description
Re-export rlua
interface for library developers
Modules
Re-exports most types with an extra
Lua*
prefix to prevent name clashes.Structs
Handle to an internal Lua userdata for any type that implements
UserData
.Handle to an internal Lua function.
A “light” userdata value. Equivalent to an unmanaged raw pointer.
Top level Lua struct which holds the Lua state itself.
Multiple Lua values used for both argument passing and also for multiple return values.
An auto generated key into the Lua registry.
Constructed by the
Lua::scope
method, allows temporarily passing to Lua userdata that is
!Send, and callbacks that are !Send and not ’static.Handle to an internal Lua string.
Handle to an internal Lua table.
An iterator over the pairs of a Lua table.
An iterator over the sequence part of a Lua table.
Handle to an internal Lua thread (or coroutine).
Wraps a variable number of
T
s.Enums
Error type returned by
rlua
methods.Kinds of metamethods that can be overridden.
Status of a Lua thread (or coroutine).
A dynamically typed Lua value. The
String
, Table
, Function
, Thread
, and UserData
variants contain handle types into the internal Lua state. It is a logic error to mix handle
types between separate Lua
instances, or between a parent Lua
instance and one received as a
parameter in a Rust callback, and doing so will result in a panic.Traits
Trait for types convertible from
Value
.Trait for types that can be created from an arbitrary number of Lua values.
Trait for types convertible to
Value
.Trait for types convertible to any number of Lua values.
Trait for custom userdata types.
Method registry for
UserData
implementors.