[][src]Struct pm_rlua::userdata::LuaStruct

pub struct LuaStruct<T> { /* fields omitted */ }

Implementations

impl<T> LuaStruct<T> where
    T: NewStruct + Any
[src]

pub fn new(lua: *mut lua_State) -> LuaStruct<T>[src]

pub fn new_light(lua: *mut lua_State) -> LuaStruct<T>[src]

pub fn ensure_matetable(&mut self)[src]

pub fn create(&mut self) -> &mut LuaStruct<T>[src]

pub fn def<P>(&mut self, name: &str, param: P) -> &mut LuaStruct<T> where
    P: LuaPush
[src]

pub fn register(
    &mut self,
    name: &str,
    func: extern "C" fn(_: *mut lua_State) -> c_int
) -> &mut LuaStruct<T>
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for LuaStruct<T> where
    T: RefUnwindSafe

impl<T> !Send for LuaStruct<T>

impl<T> !Sync for LuaStruct<T>

impl<T> Unpin for LuaStruct<T> where
    T: Unpin

impl<T> UnwindSafe for LuaStruct<T> where
    T: UnwindSafe

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.