pub enum BlendMode {
Show 19 variants
PassThrough,
Normal,
Darken,
Multiply,
LinearBurn,
ColorBurn,
Lighten,
Screen,
LinearDodge,
ColorDodge,
Overlay,
SoftLight,
HardLight,
Difference,
Exclusion,
Hue,
Saturation,
Color,
Luminosity,
}
Expand description
BlendMode : This type is a string enum with the following possible values Normal blends: - PASS_THROUGH
(only applicable to objects with children) - NORMAL
Darken: - DARKEN
- MULTIPLY
- LINEAR_BURN
- COLOR_BURN
Lighten: - LIGHTEN
- SCREEN
- LINEAR_DODGE
- COLOR_DODGE
Contrast: - OVERLAY
- SOFT_LIGHT
- HARD_LIGHT
Inversion: - DIFFERENCE
- EXCLUSION
Component: - HUE
- SATURATION
- COLOR
- LUMINOSITY
This type is a string enum with the following possible values Normal blends: - PASS_THROUGH
(only applicable to objects with children) - NORMAL
Darken: - DARKEN
- MULTIPLY
- LINEAR_BURN
- COLOR_BURN
Lighten: - LIGHTEN
- SCREEN
- LINEAR_DODGE
- COLOR_DODGE
Contrast: - OVERLAY
- SOFT_LIGHT
- HARD_LIGHT
Inversion: - DIFFERENCE
- EXCLUSION
Component: - HUE
- SATURATION
- COLOR
- LUMINOSITY
Variants§
PassThrough
Normal
Darken
Multiply
LinearBurn
ColorBurn
Lighten
Screen
LinearDodge
ColorDodge
Overlay
SoftLight
HardLight
Difference
Exclusion
Hue
Saturation
Color
Luminosity
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlendMode
impl<'de> Deserialize<'de> for BlendMode
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>,
Source§impl Ord for BlendMode
impl Ord for BlendMode
Source§impl PartialOrd for BlendMode
impl PartialOrd for BlendMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.