pub enum MaskType {
Alpha,
Luminosity,
}
Expand description
What property in the mask influences the target alpha.
Variants§
Alpha
The alpha values from the mask are applied to the target.
Luminosity
A single-channel luminosity value is calculated for the colors in the mask.
Trait Implementations§
impl Copy for MaskType
impl Eq for MaskType
impl StructuralPartialEq for MaskType
Auto Trait Implementations§
impl Freeze for MaskType
impl RefUnwindSafe for MaskType
impl Send for MaskType
impl Sync for MaskType
impl Unpin for MaskType
impl UnwindSafe for MaskType
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
)