Enum glsl::syntax::UnaryOp [] [src]

pub enum UnaryOp {
    Inc,
    Dec,
    Add,
    Minus,
    Not,
    Complement,
}

All unary operators that exist in GLSL.

Variants

Trait Implementations

impl Clone for UnaryOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UnaryOp
[src]

Formats the value using the given formatter.

impl PartialEq for UnaryOp
[src]

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

This method tests for !=.