[−][src]Struct pm_rlua::userdata::LuaStruct
Implementations
impl<T> LuaStruct<T> where
T: NewStruct + Any,
[src]
T: NewStruct + Any,
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]
P: LuaPush,
pub fn register(
&mut self,
name: &str,
func: extern "C" fn(_: *mut lua_State) -> c_int
) -> &mut LuaStruct<T>
[src]
&mut self,
name: &str,
func: extern "C" fn(_: *mut lua_State) -> c_int
) -> &mut LuaStruct<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for LuaStruct<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for LuaStruct<T>
impl<T> !Sync for LuaStruct<T>
impl<T> Unpin for LuaStruct<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for LuaStruct<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,