pub enum MixBlendMode {
Show 16 variants
Normal,
Multiply,
Screen,
Overlay,
Darken,
Lighten,
ColorDodge,
ColorBurn,
HardLight,
SoftLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
}
Expand description
Mix 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 MixBlendMode
impl MixBlendMode
pub fn to_class_name(&self) -> String
pub fn to_css_value(&self) -> String
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 · 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<'de> Deserialize<'de> for MixBlendMode
impl<'de> Deserialize<'de> for MixBlendMode
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 MixBlendMode
impl Display for MixBlendMode
Source§impl Hash for MixBlendMode
impl Hash for MixBlendMode
Source§impl PartialEq for MixBlendMode
impl PartialEq for MixBlendMode
Source§impl Serialize for MixBlendMode
impl Serialize for MixBlendMode
impl Copy for MixBlendMode
impl Eq 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 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
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.