pub struct SimpleStatementSuite<'a> {
pub body: Vec<SmallStatement<'a>>,
pub leading_whitespace: SimpleWhitespace<'a>,
pub trailing_whitespace: TrailingWhitespace<'a>,
}
Fields§
§body: Vec<SmallStatement<'a>>
Sequence of small statements. All but the last statement are required to have a semicolon.
leading_whitespace: SimpleWhitespace<'a>
The whitespace between the colon in the parent statement and the body.
trailing_whitespace: TrailingWhitespace<'a>
Any optional trailing comment and the final NEWLINE
at the end of the line.
Trait Implementations§
Source§impl<'a> Clone for SimpleStatementSuite<'a>
impl<'a> Clone for SimpleStatementSuite<'a>
Source§fn clone(&self) -> SimpleStatementSuite<'a>
fn clone(&self) -> SimpleStatementSuite<'a>
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<'a> Codegen<'a> for SimpleStatementSuite<'a>
impl<'a> Codegen<'a> for SimpleStatementSuite<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
Source§impl<'a> Debug for SimpleStatementSuite<'a>
impl<'a> Debug for SimpleStatementSuite<'a>
Source§impl<'a> PartialEq for SimpleStatementSuite<'a>
impl<'a> PartialEq for SimpleStatementSuite<'a>
impl<'a> Eq for SimpleStatementSuite<'a>
impl<'a> StructuralPartialEq for SimpleStatementSuite<'a>
Auto Trait Implementations§
impl<'a> Freeze for SimpleStatementSuite<'a>
impl<'a> RefUnwindSafe for SimpleStatementSuite<'a>
impl<'a> Send for SimpleStatementSuite<'a>
impl<'a> Sync for SimpleStatementSuite<'a>
impl<'a> Unpin for SimpleStatementSuite<'a>
impl<'a> UnwindSafe for SimpleStatementSuite<'a>
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