pub struct LuaRepeatStatement {
pub block: Vec<LuaStatement>,
pub condition: LuaExpression,
}Expand description
Repeat statement
Fields§
§block: Vec<LuaStatement>The block of the repeat loop.
condition: LuaExpressionThe condition of the repeat loop.
Trait Implementations§
Source§impl Clone for LuaRepeatStatement
impl Clone for LuaRepeatStatement
Source§fn clone(&self) -> LuaRepeatStatement
fn clone(&self) -> LuaRepeatStatement
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 LuaRepeatStatement
impl Debug for LuaRepeatStatement
Source§impl<'de> Deserialize<'de> for LuaRepeatStatement
impl<'de> Deserialize<'de> for LuaRepeatStatement
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 LuaRepeatStatement
impl Serialize for LuaRepeatStatement
Source§impl ToSource for LuaRepeatStatement
impl ToSource for LuaRepeatStatement
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 LuaRepeatStatement
impl RefUnwindSafe for LuaRepeatStatement
impl Send for LuaRepeatStatement
impl Sync for LuaRepeatStatement
impl Unpin for LuaRepeatStatement
impl UnsafeUnpin for LuaRepeatStatement
impl UnwindSafe for LuaRepeatStatement
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