#[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,
}Expand description
Mirrors the MPSGraph framework counterpart for BinaryArithmeticOp.
Variants§
Addition = 0
Mirrors the MPSGraph framework case Addition.
Subtraction = 1
Mirrors the MPSGraph framework case Subtraction.
Multiplication = 2
Mirrors the MPSGraph framework case Multiplication.
Division = 3
Mirrors the MPSGraph framework case Division.
DivisionNoNaN = 4
Mirrors the MPSGraph framework case DivisionNoNaN.
Power = 5
Mirrors the MPSGraph framework case Power.
Minimum = 6
Mirrors the MPSGraph framework case Minimum.
Maximum = 7
Mirrors the MPSGraph framework case Maximum.
Equal = 8
Mirrors the MPSGraph framework case Equal.
NotEqual = 9
Mirrors the MPSGraph framework case NotEqual.
GreaterThan = 10
Mirrors the MPSGraph framework case GreaterThan.
GreaterThanOrEqualTo = 11
Mirrors the MPSGraph framework case GreaterThanOrEqualTo.
LessThan = 12
Mirrors the MPSGraph framework case LessThan.
LessThanOrEqualTo = 13
Mirrors the MPSGraph framework case LessThanOrEqualTo.
LogicalAnd = 14
Mirrors the MPSGraph framework case LogicalAnd.
LogicalOr = 15
Mirrors the MPSGraph framework case LogicalOr.
Atan2 = 16
Mirrors the MPSGraph framework case Atan2.
FloorModulo = 17
Mirrors the MPSGraph framework case FloorModulo.
Trait Implementations§
Source§impl Clone for BinaryArithmeticOp
impl Clone for BinaryArithmeticOp
Source§fn clone(&self) -> BinaryArithmeticOp
fn clone(&self) -> BinaryArithmeticOp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self and other values to be equal, and is used by ==.