pub trait Base<T: Number>: Copy + Display + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Mul<Output = Self> + MulAssign + Div<Output = Self> + DivAssign + Rem<Output = Self> + RemAssignwhere
Self: Sized,{
// Required methods
fn zero() -> Self;
fn one() -> Self;
fn two() -> Self;
fn three() -> Self;
fn four() -> Self;
fn min_value() -> Self;
fn max_value() -> Self;
}Expand description
base trait for scalar and vector numerical operations, arithmetic and generic constants