[][src]Trait vector2math::Scalar

pub trait Scalar: Add<Self, Output = Self> + Copy + PartialEq + PartialOrd + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + ZeroOneTwo {
    fn max(self, other: Self) -> Self { ... }
fn min(self, other: Self) -> Self { ... } }

Trait for math with scalar numbers

Provided methods

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

Loading content...

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> + ZeroOneTwo
[src]

fn max(self, other: Self) -> Self
[src]

fn min(self, other: Self) -> Self
[src]

Loading content...