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]
impl Clone for SelectionStatement
fn clone(&self) -> SelectionStatement
[src]
fn clone(&self) -> SelectionStatement
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 SelectionStatement
[src]
impl Debug for SelectionStatement
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 SelectionStatement
[src]
impl PartialEq for SelectionStatement
fn eq(&self, other: &SelectionStatement) -> bool
[src]
fn eq(&self, other: &SelectionStatement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SelectionStatement) -> bool
[src]
fn ne(&self, other: &SelectionStatement) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SelectionStatement
impl Send for SelectionStatement
impl Sync for SelectionStatement
impl Sync for SelectionStatement