Type Alias tlua::LuaThread

source ·
pub type LuaThread = Lua<Unref>;
Expand description

A lua context corresponding to a lua thread (see ffi::lua_newthread) stored in the global REGISTRY and will be removed from there when dropped.

LuaThread currently can only be created from an instance of StaticLua because closing a state from which a thread has been created is forbidden.

Aliased Type§

struct LuaThread { /* private fields */ }