[][src]Struct iro::hsl::HslInt

pub struct HslInt {
    pub h: u16,
    pub s: u8,
    pub l: u8,
}

Integer representation of CMYK color space.

h is a 16 between 0 and 360, and s and l are a u8 between 0 and 255.

Fields

h: u16s: u8l: u8

Trait Implementations

impl Debug for HslInt[src]

impl From<Hsl> for HslInt[src]

impl From<HslInt> for Hsl[src]

impl From<HslInt> for Rgb[src]

impl PartialEq<HslInt> for HslInt[src]

impl StructuralPartialEq for HslInt[src]

Auto Trait Implementations

impl RefUnwindSafe for HslInt

impl Send for HslInt

impl Sync for HslInt

impl Unpin for HslInt

impl UnwindSafe for HslInt

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.