Enum qoi::ColorSpace [−][src]
#[repr(u8)]
pub enum ColorSpace {
Srgb,
Linear,
}
Expand description
Image color space.
Note: the color space is purely informative. Although it is saved to the file header, it does not affect encoding/decoding in any way.
Variants
Srgb
sRGB with linear alpha
Linear
All channels are linear
Implementations
Trait Implementations
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnwindSafe for ColorSpace
Blanket Implementations
Mutably borrows from an owned value. Read more