#[repr(u8)]pub enum BlendEquation {
Add = 0,
Subtract = 1,
ReverseSubtract = 2,
Min = 3,
Max = 4,
}Expand description
Blend modes.
Variants§
Add = 0
Add colors.
Subtract = 1
Subtract colors.
ReverseSubtract = 2
Reverse-subtract colors.
Min = 3
Use the minimum color.
Max = 4
Use the maximum color.
Trait Implementations§
Source§impl Clone for BlendEquation
impl Clone for BlendEquation
Source§fn clone(&self) -> BlendEquation
fn clone(&self) -> BlendEquation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlendEquation
impl Debug for BlendEquation
Source§impl PartialEq for BlendEquation
impl PartialEq for BlendEquation
Source§impl TryFrom<u8> for BlendEquation
impl TryFrom<u8> for BlendEquation
impl Copy for BlendEquation
impl Eq for BlendEquation
impl StructuralPartialEq for BlendEquation
Auto Trait Implementations§
impl Freeze for BlendEquation
impl RefUnwindSafe for BlendEquation
impl Send for BlendEquation
impl Sync for BlendEquation
impl Unpin for BlendEquation
impl UnwindSafe for BlendEquation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)