Enum glsl::syntax::IterationStatement
source · pub enum IterationStatement {
While(Condition, Box<Statement>),
DoWhile(Box<Statement>, Box<Expr>),
For(ForInitStatement, ForRestStatement, Box<Statement>),
}
Expand description
Iteration statement.
Variants§
While(Condition, Box<Statement>)
DoWhile(Box<Statement>, Box<Expr>)
For(ForInitStatement, ForRestStatement, Box<Statement>)
Trait Implementations§
source§impl Clone for IterationStatement
impl Clone for IterationStatement
source§fn clone(&self) -> IterationStatement
fn clone(&self) -> IterationStatement
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 more