#[non_exhaustive]pub struct ColorEmitPlan {
pub cicp: Option<Cicp>,
pub icc: IccDisposition,
}Expand description
A resolved plan for emitting an image’s color description on encode.
Produced by resolve_color_emit. Deliberately minimal: it carries the
ICC/CICP decision, which is what current transcode needs. #[non_exhaustive]
so range/rendering-intent/HDR/gain-map dispositions and a warnings channel
can be added back additively when a consumer needs them.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cicp: Option<Cicp>CICP to write to the target’s native carrier, if any.
icc: IccDispositionDisposition of the ICC profile channel.
Trait Implementations§
Source§impl Clone for ColorEmitPlan
impl Clone for ColorEmitPlan
Source§fn clone(&self) -> ColorEmitPlan
fn clone(&self) -> ColorEmitPlan
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 moreSource§impl Debug for ColorEmitPlan
impl Debug for ColorEmitPlan
Source§impl PartialEq for ColorEmitPlan
impl PartialEq for ColorEmitPlan
impl StructuralPartialEq for ColorEmitPlan
Auto Trait Implementations§
impl Freeze for ColorEmitPlan
impl RefUnwindSafe for ColorEmitPlan
impl Send for ColorEmitPlan
impl Sync for ColorEmitPlan
impl Unpin for ColorEmitPlan
impl UnsafeUnpin for ColorEmitPlan
impl UnwindSafe for ColorEmitPlan
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