Skip to main content

Module state

Module state 

Source
Expand description

Lua state management.

This module provides the main Lua state handle together with state-specific configuration and garbage collector controls.

Structs§

GcGenParamslua55 or lua54
Tuning parameters for the generational GC collector (Lua 5.4+).
GcIncParams
Tuning parameters for the incremental GC collector.
Lua
Top level Lua struct which represents an instance of Lua VM.
LuaOptions
Controls Lua interpreter behavior such as Rust panics handling.
WeakLua
Weak reference to Lua instance.

Enums§

GcMode
Lua garbage collector (GC) operating mode.