Module arithmetic

Module arithmetic 

Source
Expand description

Arithmetic operations on buffers and vectors.

Structs§

Add
Marker type for arithmetic addition.
Div
Marker type for arithmetic division.
Mul
Marker type for arithmetic multiplication.
SaturatingAdd
Marker type for arithmetic addition that saturates on overflow.
SaturatingMul
Marker type for arithmetic multiplication that saturates on overflow.
SaturatingSub
Marker type for arithmetic subtraction that saturates on overflow.
Sub
Marker type for arithmetic subtraction.
WrappingAdd
Marker type for arithmetic addition that wraps on overflow.
WrappingMul
Marker type for arithmetic multiplication that wraps on overflow.
WrappingSub
Marker type for arithmetic subtraction that wraps on overflow.

Traits§

Arithmetic
Trait for arithmetic operations.
CheckedArithmetic
Trait for checked arithmetic operations.
CheckedOperator
Trait for checked arithmetic operators.
Operator
Trait for checked arithmetic operators.