#[non_exhaustive]pub enum MaskMode {
Alpha,
Luminance,
MatchSource,
Raw(Raw),
}Expand description
A value of mask-mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Alpha
alpha.
Luminance
luminance.
MatchSource
match-source.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for MaskMode
Auto Trait Implementations§
impl Freeze for MaskMode
impl RefUnwindSafe for MaskMode
impl Send for MaskMode
impl Sync for MaskMode
impl Unpin for MaskMode
impl UnsafeUnpin for MaskMode
impl UnwindSafe for MaskMode
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