Trait Scalar
smth
pub trait Scalar: Copy + Debug + PartialEq + PartialOrd { fn min(self, other: Self) -> Self { ... } fn max(self, other: Self) -> Self { ... } }
fn min(self, other: Self) -> Self
fn max(self, other: Self) -> Self
impl<S: Copy + Debug + PartialEq + PartialOrd> Scalar for S