pub struct LuaFileDescriptorProto(/* private fields */);
Methods from Deref<Target = FileDescriptorProto>§
pub fn name(&self) -> &str
pub fn clear_name(&mut self)
pub fn has_name(&self) -> bool
pub fn set_name(&mut self, v: String)
pub fn mut_name(&mut self) -> &mut String
pub fn take_name(&mut self) -> String
pub fn package(&self) -> &str
pub fn clear_package(&mut self)
pub fn has_package(&self) -> bool
pub fn set_package(&mut self, v: String)
pub fn mut_package(&mut self) -> &mut String
pub fn take_package(&mut self) -> String
pub fn syntax(&self) -> &str
pub fn clear_syntax(&mut self)
pub fn has_syntax(&self) -> bool
pub fn set_syntax(&mut self, v: String)
pub fn mut_syntax(&mut self) -> &mut String
pub fn take_syntax(&mut self) -> String
Trait Implementations§
Source§impl Clone for LuaFileDescriptorProto
impl Clone for LuaFileDescriptorProto
Source§fn clone(&self) -> LuaFileDescriptorProto
fn clone(&self) -> LuaFileDescriptorProto
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 LuaFileDescriptorProto
impl Debug for LuaFileDescriptorProto
Source§impl Default for LuaFileDescriptorProto
impl Default for LuaFileDescriptorProto
Source§fn default() -> LuaFileDescriptorProto
fn default() -> LuaFileDescriptorProto
Returns the “default value” for a type. Read more
Source§impl Deref for LuaFileDescriptorProto
impl Deref for LuaFileDescriptorProto
Source§impl DerefMut for LuaFileDescriptorProto
impl DerefMut for LuaFileDescriptorProto
Source§impl From<FileDescriptorProto> for LuaFileDescriptorProto
impl From<FileDescriptorProto> for LuaFileDescriptorProto
Source§fn from(value: FileDescriptorProto) -> Self
fn from(value: FileDescriptorProto) -> Self
Converts to this type from the input type.
Source§impl From<LuaFileDescriptorProto> for FileDescriptorProto
impl From<LuaFileDescriptorProto> for FileDescriptorProto
Source§fn from(value: LuaFileDescriptorProto) -> Self
fn from(value: LuaFileDescriptorProto) -> Self
Converts to this type from the input type.
Source§impl FromLua for LuaFileDescriptorProtowhere
Self: 'static + Clone,
impl FromLua for LuaFileDescriptorProtowhere
Self: 'static + Clone,
Source§impl PartialEq for LuaFileDescriptorProto
impl PartialEq for LuaFileDescriptorProto
Source§impl UserData for LuaFileDescriptorProto
impl UserData for LuaFileDescriptorProto
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 LuaFileDescriptorProto
Auto Trait Implementations§
impl !Freeze for LuaFileDescriptorProto
impl RefUnwindSafe for LuaFileDescriptorProto
impl Send for LuaFileDescriptorProto
impl Sync for LuaFileDescriptorProto
impl Unpin for LuaFileDescriptorProto
impl UnwindSafe for LuaFileDescriptorProto
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> FromLuaMulti for Twhere
T: FromLua,
impl<T> FromLuaMulti for Twhere
T: FromLua,
Source§fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
Performs the conversion. Read more
fn from_lua_args( args: MultiValue, i: usize, to: Option<&str>, lua: &Lua, ) -> Result<T, Error>
unsafe fn from_stack_multi(nvals: i32, lua: &RawLua) -> Result<T, Error>
unsafe fn from_stack_args( nargs: i32, i: usize, to: Option<&str>, lua: &RawLua, ) -> Result<T, Error>
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.