Skip to main content

HaveZAndMinusOne

Trait HaveZAndMinusOne 

Source
pub trait HaveZAndMinusOne<T>: HaveZ<T> {
    const MINUS_Z: Self;
    const BACKWARD: Self = Self::MINUS_Z;
}

Required Associated Constants§

Source

const MINUS_Z: Self

Provided Associated Constants§

Source

const BACKWARD: Self = Self::MINUS_Z

- Z

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> HaveZAndMinusOne<T> for Vector<T, 3>
where T: MinusOne + Zero,

Source§

const MINUS_Z: Vector<T, 3>

Source§

impl<T> HaveZAndMinusOne<T> for Vector<T, 4>
where T: MinusOne + Zero,

Source§

const MINUS_Z: Vector<T, 4>