Struct lunarity_ast::DoWhileStatement
source · pub struct DoWhileStatement<'ast> {
pub body: StatementNode<'ast>,
pub test: ExpressionNode<'ast>,
}
Fields§
§body: StatementNode<'ast>
§test: ExpressionNode<'ast>
Trait Implementations§
source§impl<'ast> Clone for DoWhileStatement<'ast>
impl<'ast> Clone for DoWhileStatement<'ast>
source§fn clone(&self) -> DoWhileStatement<'ast>
fn clone(&self) -> DoWhileStatement<'ast>
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<'ast> Debug for DoWhileStatement<'ast>
impl<'ast> Debug for DoWhileStatement<'ast>
source§impl<'ast> From<DoWhileStatement<'ast>> for Statement<'ast>
impl<'ast> From<DoWhileStatement<'ast>> for Statement<'ast>
source§fn from(val: DoWhileStatement<'ast>) -> Self
fn from(val: DoWhileStatement<'ast>) -> Self
Converts to this type from the input type.