[][src]Trait vector2math::NegVector2

pub trait NegVector2: Vector2 where
    Self::Scalar: NegScalar
{ fn neg(self) -> Self { ... }
fn max_dim(self) -> Self::Scalar { ... } }

Trait for manipulating negatable 2D vectors

Provided methods

fn neg(self) -> Self

Negate the vector

fn max_dim(self) -> Self::Scalar

Get the value of the dimmension with the higher magnitude

Loading content...

Implementors

impl<T> NegVector2 for T where
    T: Vector2,
    T::Scalar: NegScalar
[src]

fn neg(self) -> Self
[src]

fn max_dim(self) -> Self::Scalar
[src]

Loading content...