Trait ZeroOneTwo
pane::math
pub trait ZeroOneTwo: Copy { const ZERO: Self; const ONE: Self; const TWO: Self; }
Trait for defining small-number constants
const ZERO: Self
Zero 0
0
const ONE: Self
One 1
1
const TWO: Self
Two 2
2
impl ZeroOneTwo for f32
impl ZeroOneTwo for f64