Trait grafix_toolbox::math::Number

source ·
pub trait Number:
    Cast<i32>
    + Default
    + Add<Output = Self>
    + Sub<Output = Self>
    + Mul<Output = Self>
    + Div<Output = Self>
    + EpsEq
    + Round
    + Pow<Self>
    + EucMod<Self>
    + Precise { }

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Cast<i32> + Default + Add<Output = Self> + Sub<Output = Self> + Mul<Output = Self> + Div<Output = Self> + EpsEq + Round + Pow<Self> + EucMod<Self> + Precise> Number for T