Trait color::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>

Implementations on Foreign Types§

source§

impl ToHsv for u32

§

type Standard = Srgb

source§

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

source§

impl ToHsv for u64

§

type Standard = Srgb

source§

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

Implementors§

source§

impl<T: Channel + NumCast + Num, S: TransferFunction> ToHsv for Hsv<T, S>

§

type Standard = S

source§

impl<T: Channel + NumCast + Num, S: TransferFunction> ToHsv for Luma<T, S>

§

type Standard = S

source§

impl<T: Channel, S: TransferFunction> ToHsv for Rgb<T, S>

§

type Standard = S