pub struct LuaLocalStatement {
pub names: Vec<String>,
pub values: Vec<LuaExpression>,
}Expand description
本地变量声明
Fields§
§names: Vec<String>§values: Vec<LuaExpression>Trait Implementations§
Source§impl Clone for LuaLocalStatement
impl Clone for LuaLocalStatement
Source§fn clone(&self) -> LuaLocalStatement
fn clone(&self) -> LuaLocalStatement
Returns a duplicate 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 LuaLocalStatement
impl Debug for LuaLocalStatement
Source§impl<'de> Deserialize<'de> for LuaLocalStatement
impl<'de> Deserialize<'de> for LuaLocalStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for LuaLocalStatement
impl Serialize for LuaLocalStatement
Source§impl ToSource for LuaLocalStatement
impl ToSource for LuaLocalStatement
Source§fn to_source(&self, buffer: &mut SourceBuffer)
fn to_source(&self, buffer: &mut SourceBuffer)
Writes the source code representation of this type to the provided buffer.
Source§fn to_source_string(&self) -> String
fn to_source_string(&self) -> String
Converts this type to a source code string.
Auto Trait Implementations§
impl Freeze for LuaLocalStatement
impl RefUnwindSafe for LuaLocalStatement
impl Send for LuaLocalStatement
impl Sync for LuaLocalStatement
impl Unpin for LuaLocalStatement
impl UnwindSafe for LuaLocalStatement
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