Trait NegScalar
vector2math
pub trait NegScalar: Scalar + Neg<Output = Self> { fn abs(self) -> Self; }
Trait for scalars that can be negated
fn abs(self) -> Self
Get the abolute value of this Scalar
Scalar
impl<T> NegScalar for T where T: Scalar + Neg<Output = Self>,
Get the absolute value