Enum printpdf::extgstate::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
sourceimpl Clone for SoftMaskFunction
impl Clone for SoftMaskFunction
sourcefn clone(&self) -> SoftMaskFunction
fn clone(&self) -> SoftMaskFunction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SoftMaskFunction
impl Debug for SoftMaskFunction
sourceimpl PartialEq<SoftMaskFunction> for SoftMaskFunction
impl PartialEq<SoftMaskFunction> for SoftMaskFunction
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more