UnitZ

Trait UnitZ 

Source
pub trait UnitZ: Sized {
    // Required method
    fn unit_z() -> Self;
}

Required Methods§

Source

fn unit_z() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> UnitZ for Vec3<T>
where T: One + Zero,

Source§

impl<T> UnitZ for Vec4<T>
where T: One + Zero,