pub struct Hsl {
pub alpha: u8,
pub hue: u8,
pub sat: u8,
pub lum: u8,
}Expand description
HSL color representation with alpha channel. All components are 0-255.
Direct port from C++ Hsl struct.
Fields§
§alpha: u8§hue: u8§sat: u8§lum: u8Implementations§
Trait Implementations§
impl Copy for Hsl
impl Eq for Hsl
impl StructuralPartialEq for Hsl
Auto Trait Implementations§
impl Freeze for Hsl
impl RefUnwindSafe for Hsl
impl Send for Hsl
impl Sync for Hsl
impl Unpin for Hsl
impl UnwindSafe for Hsl
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