#[non_exhaustive]pub enum ColorTarget {
Current,
Named(Cicp),
Icc(Arc<[u8]>),
}Expand description
Current means current samples, not the original file’s pre-transform space. Explicit targets never consult opaque source extensions for color authority.
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.
Current
Preserve the current sample color space, not original-file provenance.
Named(Cicp)
Convert to this named color space.
Icc(Arc<[u8]>)
Convert to this ICC profile, requiring a suitable supplied CMS.
Trait Implementations§
Source§impl Clone for ColorTarget
impl Clone for ColorTarget
Source§fn clone(&self) -> ColorTarget
fn clone(&self) -> ColorTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ColorTarget
impl RefUnwindSafe for ColorTarget
impl Send for ColorTarget
impl Sync for ColorTarget
impl Unpin for ColorTarget
impl UnsafeUnpin for ColorTarget
impl UnwindSafe for ColorTarget
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