pub enum UnaryOp {
Inc,
Dec,
Add,
Minus,
Not,
Complement,
}
Expand description
All unary operators that exist in GLSL.
Variants§
Trait Implementations§
source§impl HostMut for UnaryOp
impl HostMut for UnaryOp
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
source§impl PartialEq for UnaryOp
impl PartialEq for UnaryOp
impl StructuralPartialEq for UnaryOp
Auto Trait Implementations§
impl RefUnwindSafe for UnaryOp
impl Send for UnaryOp
impl Sync for UnaryOp
impl Unpin for UnaryOp
impl UnwindSafe for UnaryOp
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more