UnitX

Trait UnitX 

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

Required Methods§

Source

fn unit_x() -> 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> UnitX for Vec2<T>
where T: One + Zero,

Source§

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

Source§

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