Enum glsl::syntax::IterationStatement
[−]
[src]
pub enum IterationStatement {
While(Condition, Box<Statement>),
DoWhile(Box<Statement>, Box<Expr>),
For(ForInitStatement, ForRestStatement, Box<Statement>),
}Iteration statement.
Variants
While(Condition, Box<Statement>)DoWhile(Box<Statement>, Box<Expr>)For(ForInitStatement, ForRestStatement, Box<Statement>)Trait Implementations
impl Clone for IterationStatement[src]
fn clone(&self) -> IterationStatement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for IterationStatement[src]
impl PartialEq for IterationStatement[src]
fn eq(&self, __arg_0: &IterationStatement) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &IterationStatement) -> bool
This method tests for !=.