Enum core_graphics::context::CGBlendMode
source · #[repr(C)]pub enum CGBlendMode {
Show 28 variants
Normal = 0,
Multiply = 1,
Screen = 2,
Overlay = 3,
Darken = 4,
Lighten = 5,
ColorDodge = 6,
ColorBurn = 7,
SoftLight = 8,
HardLight = 9,
Difference = 10,
Exclusion = 11,
Hue = 12,
Saturation = 13,
Color = 14,
Luminosity = 15,
Clear = 16,
Copy = 17,
SourceIn = 18,
SourceOut = 19,
SourceAtop = 20,
DestinationOver = 21,
DestinationIn = 22,
DestinationOut = 23,
DestinationAtop = 24,
Xor = 25,
PlusDarker = 26,
PlusLighter = 27,
}
Variants§
Normal = 0
Multiply = 1
Screen = 2
Overlay = 3
Darken = 4
Lighten = 5
ColorDodge = 6
ColorBurn = 7
SoftLight = 8
HardLight = 9
Difference = 10
Exclusion = 11
Hue = 12
Saturation = 13
Color = 14
Luminosity = 15
Clear = 16
Copy = 17
SourceIn = 18
SourceOut = 19
SourceAtop = 20
DestinationOver = 21
DestinationIn = 22
DestinationOut = 23
DestinationAtop = 24
Xor = 25
PlusDarker = 26
PlusLighter = 27
Trait Implementations§
source§impl Clone for CGBlendMode
impl Clone for CGBlendMode
source§fn clone(&self) -> CGBlendMode
fn clone(&self) -> CGBlendMode
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 CGBlendMode
impl Debug for CGBlendMode
impl Copy for CGBlendMode
Auto Trait Implementations§
impl Freeze for CGBlendMode
impl RefUnwindSafe for CGBlendMode
impl Send for CGBlendMode
impl Sync for CGBlendMode
impl Unpin for CGBlendMode
impl UnwindSafe for CGBlendMode
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)