[][src]Struct nhdesigngen::color::HSVRGBA

pub struct HSVRGBA {
    pub h: u8,
    pub s: u8,
    pub v: u8,
    pub r: u8,
    pub g: u8,
    pub b: u8,
    pub a: u8,

Palette item allowing HSV in NH format, combined with RGBA in [0, 255] range


h: u8s: u8v: u8r: u8g: u8b: u8a: u8

Trait Implementations

impl Clone for HSVRGBA[src]

impl Debug for HSVRGBA[src]

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

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

impl From<HSVRGBA> for NHPaletteItem[src]

impl From<NHPaletteItem> for HSVRGBA[src]

impl Serialize for HSVRGBA[src]

Auto Trait Implementations

impl RefUnwindSafe for HSVRGBA

impl Send for HSVRGBA

impl Sync for HSVRGBA

impl Unpin for HSVRGBA

impl UnwindSafe for HSVRGBA

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.