pub enum LoopStatement {
Forever(Box<LoopStatementForever>),
Repeat(Box<LoopStatementRepeat>),
While(Box<LoopStatementWhile>),
For(Box<LoopStatementFor>),
DoWhile(Box<LoopStatementDoWhile>),
Foreach(Box<LoopStatementForeach>),
}
Variants§
Forever(Box<LoopStatementForever>)
Repeat(Box<LoopStatementRepeat>)
While(Box<LoopStatementWhile>)
For(Box<LoopStatementFor>)
DoWhile(Box<LoopStatementDoWhile>)
Foreach(Box<LoopStatementForeach>)
Trait Implementations§
source§impl Clone for LoopStatement
impl Clone for LoopStatement
source§fn clone(&self) -> LoopStatement
fn clone(&self) -> LoopStatement
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 LoopStatement
impl Debug for LoopStatement
source§impl<'a> From<&'a LoopStatement> for RefNode<'a>
impl<'a> From<&'a LoopStatement> for RefNode<'a>
source§fn from(x: &'a LoopStatement) -> Self
fn from(x: &'a LoopStatement) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a LoopStatement> for RefNodes<'a>
impl<'a> From<&'a LoopStatement> for RefNodes<'a>
source§fn from(x: &'a LoopStatement) -> Self
fn from(x: &'a LoopStatement) -> Self
Converts to this type from the input type.
source§impl From<LoopStatement> for AnyNode
impl From<LoopStatement> for AnyNode
source§fn from(x: LoopStatement) -> Self
fn from(x: LoopStatement) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a LoopStatement
impl<'a> IntoIterator for &'a LoopStatement
source§impl PartialEq<LoopStatement> for LoopStatement
impl PartialEq<LoopStatement> for LoopStatement
source§fn eq(&self, other: &LoopStatement) -> bool
fn eq(&self, other: &LoopStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.