Struct glsl::syntax::SelectionStatement
source · pub struct SelectionStatement {
pub cond: Box<Expr>,
pub rest: SelectionRestStatement,
}
Expand description
Selection statement.
Fields§
§cond: Box<Expr>
§rest: SelectionRestStatement
Trait Implementations§
source§impl Clone for SelectionStatement
impl Clone for SelectionStatement
source§fn clone(&self) -> SelectionStatement
fn clone(&self) -> SelectionStatement
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