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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SwitchStatement
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SwitchStatement
[src]

[src]

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

[src]

This method tests for !=.