[][src]Struct pm_rlua::LuaGuard

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

Fields

lua: *mut lua_Statesize: i32

Implementations

impl LuaGuard[src]

pub fn forget(self) -> i32[src]

pub fn empty(&self) -> LuaGuard[src]

pub fn new_empty(lua: *mut lua_State) -> LuaGuard[src]

pub fn new(lua: *mut lua_State, size: i32) -> LuaGuard[src]

Trait Implementations

impl Drop for LuaGuard[src]

Auto Trait Implementations

impl RefUnwindSafe for LuaGuard

impl !Send for LuaGuard

impl !Sync for LuaGuard

impl Unpin for LuaGuard

impl UnwindSafe for LuaGuard

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.