[][src]Trait nannou::draw::properties::color::IntoRgba

pub trait IntoRgba<S> where
    S: Float
{ fn into_rgba(self) -> Rgba<S>; }

Types that may be converted directly into an RGBA color.

Required methods

fn into_rgba(self) -> Rgba<S>

Convert self into RGBA.

Loading content...

Implementors

impl<C, S> IntoRgba<S> for Alpha<C, S> where
    C: IntoColor<S>,
    S: Float
[src]

impl<S> IntoRgba<S> for Hwb<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Lab<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Lch<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Luma<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Xyz<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Yxy<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Hsl<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Hsv<S> where
    S: Float + One
[src]

impl<S> IntoRgba<S> for Rgb<S> where
    S: Float + One
[src]

Loading content...