[][src]Struct nhdesigngen::color::HSVA

pub struct HSVA {
    pub h: f32,
    pub s: f32,
    pub v: f32,
    pub a: f32,

Simple full-range HSV+alpha for conversions


h: f32

Hue, in degrees [0, 360)

s: f32

Saturation [0, 1]

v: f32

Value [0, 1]

a: f32

Alpha [0, 1]

Trait Implementations

impl Clone for HSVA[src]

impl Debug for HSVA[src]

impl Default for HSVA[src]

impl<'_> From<&'_ Color> for HSVA[src]

impl<'_> From<&'_ HSVA> for Color[src]

impl<'_> From<&'_ HSVA> for NHPaletteItem[src]

impl<'_> From<&'_ NHPaletteItem> for HSVA[src]

impl From<Color> for HSVA[src]

impl From<HSVA> for Color[src]

impl From<HSVA> for NHPaletteItem[src]

impl From<NHPaletteItem> for HSVA[src]

impl Serialize for HSVA[src]

Auto Trait Implementations

impl RefUnwindSafe for HSVA

impl Send for HSVA

impl Sync for HSVA

impl Unpin for HSVA

impl UnwindSafe for HSVA

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.