pub trait Number: Clone + Copy + Debug + Default + PartialEq + Send + Sized + Sync + Add<Output = Self> + AddAssign + Sub<Output = Self> + SubAssign + Mul<Output = Self> + MulAssign + Div + DivAssign + Neg<Output = Self> + Sum + Product {
    // Required method
    fn one() -> Self;
}

Required Methods§

source

fn one() -> Self

Implementations on Foreign Types§

source§

impl Number for f64

source§

fn one() -> Self

Implementors§