Enum webrender_api::MixBlendMode
source · #[repr(u8)]pub enum MixBlendMode {
Show 17 variants
Normal = 0,
Multiply = 1,
Screen = 2,
Overlay = 3,
Darken = 4,
Lighten = 5,
ColorDodge = 6,
ColorBurn = 7,
HardLight = 8,
SoftLight = 9,
Difference = 10,
Exclusion = 11,
Hue = 12,
Saturation = 13,
Color = 14,
Luminosity = 15,
PlusLighter = 16,
}
Variants§
Normal = 0
Multiply = 1
Screen = 2
Overlay = 3
Darken = 4
Lighten = 5
ColorDodge = 6
ColorBurn = 7
HardLight = 8
SoftLight = 9
Difference = 10
Exclusion = 11
Hue = 12
Saturation = 13
Color = 14
Luminosity = 15
PlusLighter = 16
Trait Implementations§
source§impl Clone for MixBlendMode
impl Clone for MixBlendMode
source§fn clone(&self) -> MixBlendMode
fn clone(&self) -> MixBlendMode
Returns a copy 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 Default for MixBlendMode
impl Default 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 Hash for MixBlendMode
impl Hash for MixBlendMode
source§impl MallocSizeOf for MixBlendMode
impl MallocSizeOf for MixBlendMode
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for MixBlendMode
impl PartialEq for MixBlendMode
source§fn eq(&self, other: &MixBlendMode) -> bool
fn eq(&self, other: &MixBlendMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for MixBlendMode
impl Peek for MixBlendMode
source§impl Poke for MixBlendMode
impl Poke 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