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