Enum glsl::syntax::BinaryOp [] [src]

pub enum BinaryOp {
    Or,
    Xor,
    And,
    BitOr,
    BitXor,
    BitAnd,
    Equal,
    NonEqual,
    LT,
    GT,
    LTE,
    GTE,
    LShift,
    RShift,
    Add,
    Sub,
    Mult,
    Div,
    Mod,
}

All binary operators that exist in GLSL.

Variants

Trait Implementations

impl Clone for BinaryOp
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BinaryOp
[src]

Formats the value using the given formatter.

impl PartialEq for BinaryOp
[src]

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

This method tests for !=.