Struct glsl::syntax::SwitchStatement [] [src]

pub struct SwitchStatement {
    pub head: Box<Expr>,
    pub body: Vec<Statement>,
}

Switch statement.

Fields

Trait Implementations

impl Clone for SwitchStatement
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SwitchStatement
[src]

Formats the value using the given formatter.

impl PartialEq for SwitchStatement
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.