#[non_exhaustive]pub enum ColorProvenance {
Icc,
Cicp,
GamaChrm,
Assumed,
}Expand description
How the source file described its color information.
Preserved for re-encoding and round-trip conversion decisions.
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.
Icc
Color was described via an embedded ICC profile.
Cicp
Color was described via CICP code points.
GamaChrm
Color was described via PNG gAMA + cHRM chunks or similar.
Assumed
Color was assumed (no explicit metadata in source).
Trait Implementations§
Source§impl Clone for ColorProvenance
impl Clone for ColorProvenance
Source§fn clone(&self) -> ColorProvenance
fn clone(&self) -> ColorProvenance
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 ColorProvenance
impl Debug for ColorProvenance
Source§impl Hash for ColorProvenance
impl Hash for ColorProvenance
Source§impl PartialEq for ColorProvenance
impl PartialEq for ColorProvenance
impl Copy for ColorProvenance
impl Eq for ColorProvenance
impl StructuralPartialEq for ColorProvenance
Auto Trait Implementations§
impl Freeze for ColorProvenance
impl RefUnwindSafe for ColorProvenance
impl Send for ColorProvenance
impl Sync for ColorProvenance
impl Unpin for ColorProvenance
impl UnsafeUnpin for ColorProvenance
impl UnwindSafe for ColorProvenance
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