pub struct LuaRuntimeType(pub RuntimeType);Tuple Fields§
§0: RuntimeTypeTrait Implementations§
Source§impl Clone for LuaRuntimeType
impl Clone for LuaRuntimeType
Source§fn clone(&self) -> LuaRuntimeType
fn clone(&self) -> LuaRuntimeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LuaRuntimeType
impl Debug for LuaRuntimeType
Source§impl Deref for LuaRuntimeType
impl Deref for LuaRuntimeType
Source§impl From<LuaRuntimeType> for RuntimeType
impl From<LuaRuntimeType> for RuntimeType
Source§fn from(value: LuaRuntimeType) -> Self
fn from(value: LuaRuntimeType) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeType> for LuaRuntimeType
impl From<RuntimeType> for LuaRuntimeType
Source§fn from(value: RuntimeType) -> Self
fn from(value: RuntimeType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LuaRuntimeType
impl PartialEq for LuaRuntimeType
Source§fn eq(&self, other: &LuaRuntimeType) -> bool
fn eq(&self, other: &LuaRuntimeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl UserData for LuaRuntimeType
impl UserData for LuaRuntimeType
Source§fn add_methods<M: UserDataMethods<Self>>(methods: &mut M)
fn add_methods<M: UserDataMethods<Self>>(methods: &mut M)
Adds custom methods and operators specific to this userdata.
Source§fn add_fields<F>(fields: &mut F)where
F: UserDataFields<Self>,
fn add_fields<F>(fields: &mut F)where
F: UserDataFields<Self>,
Adds custom fields specific to this userdata.
Source§fn register(registry: &mut UserDataRegistry<Self>)
fn register(registry: &mut UserDataRegistry<Self>)
Registers this type for use in Lua. Read more
impl Eq for LuaRuntimeType
impl StructuralPartialEq for LuaRuntimeType
Auto Trait Implementations§
impl Freeze for LuaRuntimeType
impl !RefUnwindSafe for LuaRuntimeType
impl Send for LuaRuntimeType
impl Sync for LuaRuntimeType
impl Unpin for LuaRuntimeType
impl UnsafeUnpin for LuaRuntimeType
impl !UnwindSafe for LuaRuntimeType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoLuaMulti for Twhere
T: IntoLua,
impl<T> IntoLuaMulti for Twhere
T: IntoLua,
Source§fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
Performs the conversion.