pub struct LuaEnumValueOptions(pub EnumValueOptions);
Tuple Fields§
§0: EnumValueOptions
Methods from Deref<Target = EnumValueOptions>§
pub fn deprecated(&self) -> bool
pub fn clear_deprecated(&mut self)
pub fn has_deprecated(&self) -> bool
pub fn set_deprecated(&mut self, v: bool)
Trait Implementations§
Source§impl Clone for LuaEnumValueOptions
impl Clone for LuaEnumValueOptions
Source§fn clone(&self) -> LuaEnumValueOptions
fn clone(&self) -> LuaEnumValueOptions
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 LuaEnumValueOptions
impl Debug for LuaEnumValueOptions
Source§impl Default for LuaEnumValueOptions
impl Default for LuaEnumValueOptions
Source§fn default() -> LuaEnumValueOptions
fn default() -> LuaEnumValueOptions
Returns the “default value” for a type. Read more
Source§impl Deref for LuaEnumValueOptions
impl Deref for LuaEnumValueOptions
Source§impl DerefMut for LuaEnumValueOptions
impl DerefMut for LuaEnumValueOptions
Source§impl From<EnumValueOptions> for LuaEnumValueOptions
impl From<EnumValueOptions> for LuaEnumValueOptions
Source§fn from(value: EnumValueOptions) -> Self
fn from(value: EnumValueOptions) -> Self
Converts to this type from the input type.
Source§impl From<LuaEnumValueOptions> for EnumValueOptions
impl From<LuaEnumValueOptions> for EnumValueOptions
Source§fn from(value: LuaEnumValueOptions) -> Self
fn from(value: LuaEnumValueOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LuaEnumValueOptions
impl PartialEq for LuaEnumValueOptions
Source§impl UserData for LuaEnumValueOptions
impl UserData for LuaEnumValueOptions
Source§fn add_fields<F: UserDataFields<Self>>(fields: &mut F)
fn add_fields<F: UserDataFields<Self>>(fields: &mut F)
Adds custom fields specific to this userdata.
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 register(registry: &mut UserDataRegistry<Self>)
fn register(registry: &mut UserDataRegistry<Self>)
Registers this type for use in Lua. Read more
impl StructuralPartialEq for LuaEnumValueOptions
Auto Trait Implementations§
impl !Freeze for LuaEnumValueOptions
impl RefUnwindSafe for LuaEnumValueOptions
impl Send for LuaEnumValueOptions
impl Sync for LuaEnumValueOptions
impl Unpin for LuaEnumValueOptions
impl UnwindSafe for LuaEnumValueOptions
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<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.