pub enum OverprintMode {
OverrideAllColorants,
IgnoreZeroChannel,
}
Expand description
How to behave when overprinting for colorants with the value zero.
Variants§
OverrideAllColorants
An overprint operation will always discard the underlying color, even if one of the colorants is zero.
IgnoreZeroChannel
An overprint operation will only discard the underlying colorant component (e.g. cyan in CMYK) if the new corresponding colorant is non-zero.
Note that this value is forbidden by PDF/A for ICCBased color spaces when overprinting is enabled.
Trait Implementations§
source§impl Clone for OverprintMode
impl Clone for OverprintMode
source§fn clone(&self) -> OverprintMode
fn clone(&self) -> OverprintMode
Returns a copy of the value. Read more
1.6.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 OverprintMode
impl Debug for OverprintMode
source§impl Hash for OverprintMode
impl Hash for OverprintMode
source§impl PartialEq for OverprintMode
impl PartialEq for OverprintMode
impl Copy for OverprintMode
impl Eq for OverprintMode
impl StructuralPartialEq for OverprintMode
Auto Trait Implementations§
impl Freeze for OverprintMode
impl RefUnwindSafe for OverprintMode
impl Send for OverprintMode
impl Sync for OverprintMode
impl Unpin for OverprintMode
impl UnwindSafe for OverprintMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)