[][src]Trait vector2math::NegScalar

pub trait NegScalar: Scalar + Neg<Output = Self> {
    fn abs(self) -> Self;
}

Trait for scalars that can be negated

Required methods

fn abs(self) -> Self

Get the abolute value of this Scalar

Loading content...

Implementors

impl<T> NegScalar for T where
    T: Scalar + Neg<Output = Self>, 
[src]

fn abs(self) -> Self
[src]

Get the absolute value

Loading content...