Trait vector2math::Scalar [−][src]
Trait for math with scalar numbers
Provided methods
fn maxx(self, other: Self) -> Self[src]
Get the max of this Scalar and another
This function is named to not conflict with the
Scalar’s default max function
fn minn(self, other: Self) -> Self[src]
Get the min of this Scalar and another
This function is named to not conflict with the
Scalar’s default min function
Implementors
impl<T> Scalar for T where
T: Copy + PartialEq + PartialOrd + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Abs + ZeroOneTwo, [src]
T: Copy + PartialEq + PartialOrd + Add<T, Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T> + Abs + ZeroOneTwo,