Enum printpdf::SoftMaskFunction
source · pub enum SoftMaskFunction {
GroupAlpha,
GroupLuminosity,
}
Variants§
GroupAlpha
In this function, the old (backdrop) color does not contribute to the result. This is the easies function, but may look bad at edges.
GroupLuminosity
Trait Implementations§
source§impl Clone for SoftMaskFunction
impl Clone for SoftMaskFunction
source§fn clone(&self) -> SoftMaskFunction
fn clone(&self) -> SoftMaskFunction
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 SoftMaskFunction
impl Debug for SoftMaskFunction
source§impl PartialEq for SoftMaskFunction
impl PartialEq for SoftMaskFunction
source§fn eq(&self, other: &SoftMaskFunction) -> bool
fn eq(&self, other: &SoftMaskFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SoftMaskFunction
impl StructuralPartialEq for SoftMaskFunction
Auto Trait Implementations§
impl RefUnwindSafe for SoftMaskFunction
impl Send for SoftMaskFunction
impl Sync for SoftMaskFunction
impl Unpin for SoftMaskFunction
impl UnwindSafe for SoftMaskFunction
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