#[repr(u32)]pub enum BinaryArithmeticOp {
Show 18 variants
Addition = 0,
Subtraction = 1,
Multiplication = 2,
Division = 3,
DivisionNoNaN = 4,
Power = 5,
Minimum = 6,
Maximum = 7,
Equal = 8,
NotEqual = 9,
GreaterThan = 10,
GreaterThanOrEqualTo = 11,
LessThan = 12,
LessThanOrEqualTo = 13,
LogicalAnd = 14,
LogicalOr = 15,
Atan2 = 16,
FloorModulo = 17,
}Variants§
Addition = 0
Subtraction = 1
Multiplication = 2
Division = 3
DivisionNoNaN = 4
Power = 5
Minimum = 6
Maximum = 7
Equal = 8
NotEqual = 9
GreaterThan = 10
GreaterThanOrEqualTo = 11
LessThan = 12
LessThanOrEqualTo = 13
LogicalAnd = 14
LogicalOr = 15
Atan2 = 16
FloorModulo = 17
Trait Implementations§
Source§impl Clone for BinaryArithmeticOp
impl Clone for BinaryArithmeticOp
Source§fn clone(&self) -> BinaryArithmeticOp
fn clone(&self) -> BinaryArithmeticOp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BinaryArithmeticOp
impl Debug for BinaryArithmeticOp
Source§impl PartialEq for BinaryArithmeticOp
impl PartialEq for BinaryArithmeticOp
Source§fn eq(&self, other: &BinaryArithmeticOp) -> bool
fn eq(&self, other: &BinaryArithmeticOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BinaryArithmeticOp
impl Eq for BinaryArithmeticOp
impl StructuralPartialEq for BinaryArithmeticOp
Auto Trait Implementations§
impl Freeze for BinaryArithmeticOp
impl RefUnwindSafe for BinaryArithmeticOp
impl Send for BinaryArithmeticOp
impl Sync for BinaryArithmeticOp
impl Unpin for BinaryArithmeticOp
impl UnsafeUnpin for BinaryArithmeticOp
impl UnwindSafe for BinaryArithmeticOp
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