palette::numTrait Arithmetics
Source pub trait Arithmeticswhere
for<'a> Self:
Add<Output = Self> +
Sub<Output = Self> +
Mul<Output = Self> +
Div<Output = Self> +
Neg<Output = Self> +
Sized +
Add<&'a Self, Output = Self> +
Sub<&'a Self, Output = Self> +
Mul<&'a Self, Output = Self> +
Div<&'a Self, Output = Self>,
{ }
Expand description
A helper trait that collects arithmetic traits under one name.
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.