Enum glsl::syntax::SelectionRestStatement
source · pub enum SelectionRestStatement {
Statement(Box<Statement>),
Else(Box<Statement>, Box<Statement>),
}
Expand description
Selection rest statement.
Variants§
Statement(Box<Statement>)
Body of the if.
Else(Box<Statement>, Box<Statement>)
The first argument is the body of the if, the rest is the next statement.
Trait Implementations§
source§impl Clone for SelectionRestStatement
impl Clone for SelectionRestStatement
source§fn clone(&self) -> SelectionRestStatement
fn clone(&self) -> SelectionRestStatement
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