Trait mutils::num::Num[][src]

pub trait Num: Add<Self, Output = Self> + AddAssign + Sub<Self, Output = Self> + SubAssign + Mul<Self, Output = Self> + MulAssign + Div<Self, Output = Self> + DivAssign + Rem<Self, Output = Self> + PartialOrd + Display + Copy + PartialEq + NumTrampolene + Half + Zero + One + Sized + Debug { }
Expand description

A common number trait.

A number is a collection of the traits below. But you cannot get them all together in Rust. So we have had to build our own.

The Points, Rects, and Shapes, all use these traits.

Implementors