Struct glsl::syntax::SelectionStatement
[−]
[src]
pub struct SelectionStatement { pub cond: Box<Expr>, pub rest: SelectionRestStatement, }
Selection statement.
Fields
cond: Box<Expr>
rest: SelectionRestStatement
Trait Implementations
impl Clone for SelectionStatement
[src]
fn clone(&self) -> SelectionStatement
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 SelectionStatement
[src]
impl PartialEq for SelectionStatement
[src]
fn eq(&self, __arg_0: &SelectionStatement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SelectionStatement) -> bool
This method tests for !=
.