Enum glsl::syntax::AssignmentOp
source · pub enum AssignmentOp {
Equal,
Mult,
Div,
Mod,
Add,
Sub,
LShift,
RShift,
And,
Xor,
Or,
}
Expand description
All possible operators for assigning expressions.
Variants§
Trait Implementations§
source§impl Clone for AssignmentOp
impl Clone for AssignmentOp
source§fn clone(&self) -> AssignmentOp
fn clone(&self) -> AssignmentOp
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AssignmentOp
impl Debug for AssignmentOp
source§impl Host for AssignmentOp
impl Host for AssignmentOp
source§impl HostMut for AssignmentOp
impl HostMut for AssignmentOp
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 Parse for AssignmentOp
impl Parse for AssignmentOp
source§impl PartialEq for AssignmentOp
impl PartialEq for AssignmentOp
source§fn eq(&self, other: &AssignmentOp) -> bool
fn eq(&self, other: &AssignmentOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssignmentOp
Auto Trait Implementations§
impl RefUnwindSafe for AssignmentOp
impl Send for AssignmentOp
impl Sync for AssignmentOp
impl Unpin for AssignmentOp
impl UnwindSafe for AssignmentOp
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