[−][src]Trait pane::math::Scalar
Trait for math with scalar numbers
Provided methods
fn abs(self) -> Self
Get the absolute value
fn max(self, other: Self) -> Self
Get the max of this Scalar
and another
fn min(self, other: Self) -> Self
Get the min of this Scalar
and another
Implementors
impl<T> Scalar for T where
T: Copy + From<f32> + From<u32> + PartialEq + PartialOrd + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Neg<Output = T> + Sin<Output = T> + Cos<Output = T> + Pow<T, Output = T> + ZeroOneTwo,
[src]
T: Copy + From<f32> + From<u32> + PartialEq + PartialOrd + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Neg<Output = T> + Sin<Output = T> + Cos<Output = T> + Pow<T, Output = T> + ZeroOneTwo,