Enum printpdf::OverprintMode
source · pub enum OverprintMode {
EraseUnderlying,
KeepUnderlying,
}
Expand description
(PDF 1.3) A code specifying whether a color component value of 0
in a DeviceCMYK
color space should erase that component (EraseUnderlying
) or
leave it unchanged (KeepUnderlying
) when overprinting (see Section 4.5.6, “Over-
print Control”). Initial value: EraseUnderlying
Variants§
EraseUnderlying
Erase underlying color when overprinting
KeepUnderlying
Keep underlying color when overprinting
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.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 OverprintMode
impl Debug for OverprintMode
source§impl From<OverprintMode> for Object
impl From<OverprintMode> for Object
source§fn from(val: OverprintMode) -> Self
fn from(val: OverprintMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for OverprintMode
impl PartialEq for OverprintMode
source§fn eq(&self, other: &OverprintMode) -> bool
fn eq(&self, other: &OverprintMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OverprintMode
impl StructuralPartialEq for OverprintMode
Auto Trait Implementations§
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