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]
impl Clone for IterationStatement
fn clone(&self) -> IterationStatement
[src]
fn clone(&self) -> IterationStatement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for IterationStatement
[src]
impl Debug for IterationStatement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for IterationStatement
[src]
impl PartialEq for IterationStatement
fn eq(&self, other: &IterationStatement) -> bool
[src]
fn eq(&self, other: &IterationStatement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IterationStatement) -> bool
[src]
fn ne(&self, other: &IterationStatement) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for IterationStatement
impl Send for IterationStatement
impl Sync for IterationStatement
impl Sync for IterationStatement