#[non_exhaustive]pub enum ColorProfile {
None,
SRgb {
flags: u16,
gamma: u32,
},
Icc {
flags: u16,
gamma: u32,
data: Vec<u8>,
},
}Expand description
Color profile embedded in the file.
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.
Trait Implementations§
Source§impl Clone for ColorProfile
impl Clone for ColorProfile
Source§fn clone(&self) -> ColorProfile
fn clone(&self) -> ColorProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorProfile
impl Debug for ColorProfile
Source§impl PartialEq for ColorProfile
impl PartialEq for ColorProfile
impl StructuralPartialEq for ColorProfile
Auto Trait Implementations§
impl Freeze for ColorProfile
impl RefUnwindSafe for ColorProfile
impl Send for ColorProfile
impl Sync for ColorProfile
impl Unpin for ColorProfile
impl UnsafeUnpin for ColorProfile
impl UnwindSafe for ColorProfile
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