cosmic::widget::canvas::path::lyon_path::geom::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 for T
where T: One,

Source§

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