Struct rlua::LightUserData
source · pub struct LightUserData(pub *mut c_void);
Expand description
A “light” userdata value. Equivalent to an unmanaged raw pointer.
Tuple Fields§
§0: *mut c_void
Trait Implementations§
source§impl Clone for LightUserData
impl Clone for LightUserData
source§fn clone(&self) -> LightUserData
fn clone(&self) -> LightUserData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LightUserData
impl Debug for LightUserData
source§impl<'lua> FromLua<'lua> for LightUserData
impl<'lua> FromLua<'lua> for LightUserData
source§impl<'lua> IntoLua<'lua> for LightUserData
impl<'lua> IntoLua<'lua> for LightUserData
source§impl PartialEq for LightUserData
impl PartialEq for LightUserData
source§fn eq(&self, other: &LightUserData) -> bool
fn eq(&self, other: &LightUserData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LightUserData
impl Eq for LightUserData
impl StructuralPartialEq for LightUserData
Auto Trait Implementations§
impl RefUnwindSafe for LightUserData
impl !Send for LightUserData
impl !Sync for LightUserData
impl Unpin for LightUserData
impl UnwindSafe for LightUserData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<'lua, T> FromLuaMulti<'lua> for Twhere
T: FromLua<'lua>,
impl<'lua, T> FromLuaMulti<'lua> for Twhere
T: FromLua<'lua>,
source§fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
Performs the conversion. Read more
fn from_lua_args( args: MultiValue<'lua>, i: usize, to: Option<&str>, lua: &'lua Lua ) -> Result<T, Error>
unsafe fn from_stack_multi(nvals: i32, lua: &'lua Lua) -> Result<T, Error>
unsafe fn from_stack_args( nargs: i32, i: usize, to: Option<&str>, lua: &'lua Lua ) -> Result<T, Error>
source§impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
impl<'lua, T> IntoLuaMulti<'lua> for Twhere
T: IntoLua<'lua>,
source§fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
fn into_lua_multi(self, lua: &'lua Lua) -> Result<MultiValue<'lua>, Error>
Performs the conversion.