UnitY

Trait UnitY 

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

Required Methods§

Source

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

Source§

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

Source§

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