#[repr(u32)]pub enum BlendingEquation {
None = 0,
Premult = 1,
Coverage = 2,
}
Expand description
different blending equations for compositing
Blending equations that can be used when compositing a surface.
Variants§
None = 0
no blending,
Premult = 1
one / one_minus_src_alpha,
Coverage = 2
src_alpha / one_minus_src_alpha,
Implementations§
Trait Implementations§
Source§impl Clone for BlendingEquation
impl Clone for BlendingEquation
Source§fn clone(&self) -> BlendingEquation
fn clone(&self) -> BlendingEquation
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 BlendingEquation
impl Debug for BlendingEquation
Source§impl Into<Arg> for BlendingEquation
impl Into<Arg> for BlendingEquation
Source§impl PartialEq for BlendingEquation
impl PartialEq for BlendingEquation
impl Copy for BlendingEquation
impl Eq for BlendingEquation
impl StructuralPartialEq for BlendingEquation
Auto Trait Implementations§
impl Freeze for BlendingEquation
impl RefUnwindSafe for BlendingEquation
impl Send for BlendingEquation
impl Sync for BlendingEquation
impl Unpin for BlendingEquation
impl UnwindSafe for BlendingEquation
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§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
)