[][src]Struct iro::cmyk::CmykInt

pub struct CmykInt {
    pub c: u8,
    pub m: u8,
    pub y: u8,
    pub k: u8,
}

Integer representation of CMYK color space.

Each of c, m, y and k is an u8 between 0 and 255 inclusive.

Fields

c: u8m: u8y: u8k: u8

Trait Implementations

impl Debug for CmykInt[src]

impl From<Cmyk> for CmykInt[src]

impl From<CmykInt> for Cmyk[src]

impl From<CmykInt> for Rgb[src]

impl PartialEq<CmykInt> for CmykInt[src]

impl StructuralPartialEq for CmykInt[src]

Auto Trait Implementations

impl RefUnwindSafe for CmykInt

impl Send for CmykInt

impl Sync for CmykInt

impl Unpin for CmykInt

impl UnwindSafe for CmykInt

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.