pub struct LuaOneofDescriptorProto(pub OneofDescriptorProto);
Tuple Fields§
§0: OneofDescriptorProto
Methods from Deref<Target = OneofDescriptorProto>§
Trait Implementations§
Source§impl Clone for LuaOneofDescriptorProto
impl Clone for LuaOneofDescriptorProto
Source§fn clone(&self) -> LuaOneofDescriptorProto
fn clone(&self) -> LuaOneofDescriptorProto
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 LuaOneofDescriptorProto
impl Debug for LuaOneofDescriptorProto
Source§impl Default for LuaOneofDescriptorProto
impl Default for LuaOneofDescriptorProto
Source§fn default() -> LuaOneofDescriptorProto
fn default() -> LuaOneofDescriptorProto
Returns the “default value” for a type. Read more
Source§impl Deref for LuaOneofDescriptorProto
impl Deref for LuaOneofDescriptorProto
Source§impl DerefMut for LuaOneofDescriptorProto
impl DerefMut for LuaOneofDescriptorProto
Source§impl From<LuaOneofDescriptorProto> for OneofDescriptorProto
impl From<LuaOneofDescriptorProto> for OneofDescriptorProto
Source§fn from(value: LuaOneofDescriptorProto) -> Self
fn from(value: LuaOneofDescriptorProto) -> Self
Converts to this type from the input type.
Source§impl From<OneofDescriptorProto> for LuaOneofDescriptorProto
impl From<OneofDescriptorProto> for LuaOneofDescriptorProto
Source§fn from(value: OneofDescriptorProto) -> Self
fn from(value: OneofDescriptorProto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LuaOneofDescriptorProto
impl PartialEq for LuaOneofDescriptorProto
Source§impl UserData for LuaOneofDescriptorProto
impl UserData for LuaOneofDescriptorProto
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 LuaOneofDescriptorProto
Auto Trait Implementations§
impl !Freeze for LuaOneofDescriptorProto
impl RefUnwindSafe for LuaOneofDescriptorProto
impl Send for LuaOneofDescriptorProto
impl Sync for LuaOneofDescriptorProto
impl Unpin for LuaOneofDescriptorProto
impl UnwindSafe for LuaOneofDescriptorProto
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.