pub enum Colour {
Nclx {
primaries: u16,
transfer: u16,
matrix: u16,
full_range: bool,
},
Icc(Vec<u8>),
}Expand description
The colr colour information.
Variants§
Nclx
CICP code points, as nclx.
Fields
Icc(Vec<u8>)
An embedded ICC profile, as rICC or prof.
Carried through but not applied: SPEC §Pixel formats puts ICC transforms in v2, and v1 is sRGB-assumed.
Trait Implementations§
impl Eq for Colour
impl StructuralPartialEq for Colour
Auto Trait Implementations§
impl Freeze for Colour
impl RefUnwindSafe for Colour
impl Send for Colour
impl Sync for Colour
impl Unpin for Colour
impl UnsafeUnpin for Colour
impl UnwindSafe for Colour
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