pub struct HSVRGBA {
pub h: u8,
pub s: u8,
pub v: u8,
pub r: u8,
pub g: u8,
pub b: u8,
pub a: u8,
}
Expand description
Palette item allowing HSV in NH format, combined with RGBA in [0, 255] range
Fields§
§h: u8
§s: u8
§v: u8
§r: u8
§g: u8
§b: u8
§a: u8
Trait Implementations§
Source§impl From<&HSVRGBA> for NHPaletteItem
impl From<&HSVRGBA> for NHPaletteItem
Source§impl From<&NHPaletteItem> for HSVRGBA
impl From<&NHPaletteItem> for HSVRGBA
Source§fn from(palette_item: &NHPaletteItem) -> Self
fn from(palette_item: &NHPaletteItem) -> Self
Converts to this type from the input type.
Source§impl From<HSVRGBA> for NHPaletteItem
impl From<HSVRGBA> for NHPaletteItem
Source§impl From<NHPaletteItem> for HSVRGBA
impl From<NHPaletteItem> for HSVRGBA
Source§fn from(palette_item: NHPaletteItem) -> Self
fn from(palette_item: NHPaletteItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HSVRGBA
impl RefUnwindSafe for HSVRGBA
impl Send for HSVRGBA
impl Sync for HSVRGBA
impl Unpin for HSVRGBA
impl UnwindSafe for HSVRGBA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more