pub trait Arithmetics:
Sized
+ Add<Output = Self, Output = Self>
+ Sub<Output = Self, Output = Self>
+ Mul<Output = Self, Output = Self>
+ Div<Output = Self, Output = Self>
+ Neg<Output = Self>
+ for<'a> Add<&'a Self>
+ for<'a> Sub<&'a Self>
+ for<'a> Mul<&'a Self>
+ for<'a> Div<&'a Self> { }
Expand description
A helper trait that collects arithmetic traits under one name.
Object Safety§
This trait is not object safe.