pub enum BackgroundBlendMode {
Show 16 variants
Normal,
Multiply,
Screen,
Overlay,
Darken,
Lighten,
ColorDodge,
ColorBurn,
HardLight,
SoftLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
}
Expand description
Background blend mode values
Variants§
Normal
Normal blend
Multiply
Multiply blend
Screen
Screen blend
Overlay
Overlay blend
Darken
Darken blend
Lighten
Lighten blend
ColorDodge
Color dodge blend
ColorBurn
Color burn blend
HardLight
Hard light blend
SoftLight
Soft light blend
Difference
Difference blend
Exclusion
Exclusion blend
Hue
Hue blend
Saturation
Saturation blend
Color
Color blend
Luminosity
Luminosity blend
Implementations§
Source§impl BackgroundBlendMode
impl BackgroundBlendMode
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
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 · 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<'de> Deserialize<'de> for BackgroundBlendMode
impl<'de> Deserialize<'de> for BackgroundBlendMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BackgroundBlendMode
impl Display for BackgroundBlendMode
Source§impl Hash for BackgroundBlendMode
impl Hash for BackgroundBlendMode
Source§impl PartialEq for BackgroundBlendMode
impl PartialEq for BackgroundBlendMode
Source§impl Serialize for BackgroundBlendMode
impl Serialize for BackgroundBlendMode
impl Copy for BackgroundBlendMode
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.