#[non_exhaustive]pub enum Colr {
Nclx {
colour_primaries: u16,
transfer_characteristics: u16,
matrix_coefficients: u16,
full_range_flag: bool,
},
Nclc {
colour_primaries: u16,
transfer_characteristics: u16,
matrix_coefficients: u16,
},
Ricc {
profile: Vec<u8>,
},
Prof {
profile: Vec<u8>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Eq for Colr
impl StructuralPartialEq for Colr
Auto Trait Implementations§
impl Freeze for Colr
impl RefUnwindSafe for Colr
impl Send for Colr
impl Sync for Colr
impl Unpin for Colr
impl UnsafeUnpin for Colr
impl UnwindSafe for Colr
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