#[non_exhaustive]pub enum MixBlendMode {
Show 18 variants
Color,
ColorBurn,
ColorDodge,
Darken,
Difference,
Exclusion,
HardLight,
Hue,
Lighten,
Luminosity,
Multiply,
Normal,
Overlay,
PlusDarker,
PlusLighter,
Saturation,
Screen,
SoftLight,
}Expand description
A value of mix-blend-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.
Color
color.
ColorBurn
color-burn.
ColorDodge
color-dodge.
Darken
darken.
Difference
difference.
Exclusion
exclusion.
HardLight
hard-light.
Hue
hue.
Lighten
lighten.
Luminosity
luminosity.
Multiply
multiply.
Normal
normal.
Overlay
overlay.
PlusDarker
plus-darker.
PlusLighter
plus-lighter.
Saturation
saturation.
Screen
screen.
SoftLight
soft-light.
Trait Implementations§
Source§impl Clone for MixBlendMode
impl Clone for MixBlendMode
Source§fn clone(&self) -> MixBlendMode
fn clone(&self) -> MixBlendMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MixBlendMode
impl Debug for MixBlendMode
Source§impl Display for MixBlendMode
impl Display for MixBlendMode
Source§impl PartialEq for MixBlendMode
impl PartialEq for MixBlendMode
impl StructuralPartialEq for MixBlendMode
Auto Trait Implementations§
impl Freeze for MixBlendMode
impl RefUnwindSafe for MixBlendMode
impl Send for MixBlendMode
impl Sync for MixBlendMode
impl Unpin for MixBlendMode
impl UnsafeUnpin for MixBlendMode
impl UnwindSafe for MixBlendMode
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