euclid::num

Trait One

Source
pub trait One {
    // Required method
    fn one() -> Self;
}

Required Methods§

Source

fn one() -> 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: One> One for T

Source§

impl<T: One, Src, Dst> One for Scale<T, Src, Dst>