#[non_exhaustive]pub enum BackgroundBlendMode {
Show 17 variants
Color,
ColorBurn,
ColorDodge,
Darken,
Difference,
Exclusion,
HardLight,
Hue,
Lighten,
Luminosity,
Multiply,
Normal,
Overlay,
Saturation,
Screen,
SoftLight,
Raw(Raw),
}Expand description
A value of background-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.
Saturation
saturation.
Screen
screen.
SoftLight
soft-light.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BackgroundBlendMode
impl Clone for BackgroundBlendMode
Source§fn clone(&self) -> BackgroundBlendMode
fn clone(&self) -> BackgroundBlendMode
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 BackgroundBlendMode
impl Debug for BackgroundBlendMode
Source§impl Display for BackgroundBlendMode
impl Display for BackgroundBlendMode
Source§impl From<Raw> for BackgroundBlendMode
impl From<Raw> for BackgroundBlendMode
Source§impl PartialEq for BackgroundBlendMode
impl PartialEq for BackgroundBlendMode
impl StructuralPartialEq for BackgroundBlendMode
Auto Trait Implementations§
impl Freeze for BackgroundBlendMode
impl RefUnwindSafe for BackgroundBlendMode
impl Send for BackgroundBlendMode
impl Sync for BackgroundBlendMode
impl Unpin for BackgroundBlendMode
impl UnsafeUnpin for BackgroundBlendMode
impl UnwindSafe for BackgroundBlendMode
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