Enum glsl::syntax::UnaryOp [−][src]
pub enum UnaryOp { Inc, Dec, Add, Minus, Not, Complement, }
All unary operators that exist in GLSL.
Variants
Inc
Dec
Add
Minus
Not
Complement
Trait Implementations
impl Clone for UnaryOp
[src]
impl Clone for UnaryOp
fn clone(&self) -> UnaryOp
[src]
fn clone(&self) -> UnaryOp
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 UnaryOp
[src]
impl Debug for UnaryOp
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 UnaryOp
[src]
impl PartialEq for UnaryOp