pub enum BlendMode {
Show 16 variants
Normal,
Multiply,
Screen,
Overlay,
Darken,
Lighten,
ColorDodge,
ColorBurn,
HardLight,
SoftLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
}Expand description
A blend mode.
Variants§
Normal
Normal blend mode (default).
Multiply
Multiply blend mode.
Screen
Screen blend mode.
Overlay
Overlay blend mode.
Darken
Darken blend mode.
Lighten
Lighten blend mode.
ColorDodge
ColorDodge blend mode.
ColorBurn
ColorBurn blend mode.
HardLight
HardLight blend mode.
SoftLight
SoftLight blend mode.
Difference
Difference blend mode.
Exclusion
Exclusion blend mode.
Hue
Hue blend mode.
Saturation
Saturation blend mode.
Color
Color blend mode.
Luminosity
Luminosity blend mode.
Trait Implementations§
impl Copy for BlendMode
impl Eq for BlendMode
impl StructuralPartialEq for BlendMode
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnwindSafe for BlendMode
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