Struct td_rlua::LuaGuard [] [src]

pub struct LuaGuard {
    pub lua: *mut lua_State,
    pub size: i32,
}

Fields

lua: *mut lua_State size: i32

Methods

impl LuaGuard
[src]

fn forget(self) -> i32

fn empty(&self) -> LuaGuard

fn new_empty(lua: *mut lua_State) -> LuaGuard

fn new(lua: *mut lua_State, size: i32) -> LuaGuard

Trait Implementations

impl Drop for LuaGuard
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more