pub unsafe trait AsLua<'lua> {
// Required method
fn as_lua(&self) -> LuaContext;
}
Expand description
Trait for objects that have access to a Lua context. When using a context returned by a
AsLua
, you are not allowed to modify the stack.
pub unsafe trait AsLua<'lua> {
// Required method
fn as_lua(&self) -> LuaContext;
}
Trait for objects that have access to a Lua context. When using a context returned by a
AsLua
, you are not allowed to modify the stack.