color

Trait ToHsv

Source
pub trait ToHsv {
    type Standard: TransferFunction;

    // Required method
    fn to_hsv<U: Channel + NumCast + Num>(&self) -> Hsv<U, Self::Standard>;
}

Required Associated Types§

Required Methods§

Source

fn to_hsv<U: Channel + NumCast + Num>(&self) -> Hsv<U, Self::Standard>

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.

Implementations on Foreign Types§

Source§

impl ToHsv for u32

Source§

type Standard = Srgb

Source§

fn to_hsv<U: Channel>(&self) -> Hsv<U, Srgb>

Source§

impl ToHsv for u64

Implementors§