[−][src]Enum golem::blend::BlendEquation
How to combine the values when blending
Almost all the time you'll want BlendEquation::Same(BlendOperation::Add)
, but there are cases
where other blend equatiosn come in handy.
Variants
Same(BlendOperation)
Apply the same equation to the color and alpha of the blended pixels
Apply a different equation to the color and alpha channel of the blended pixels
Fields of Separate
color: BlendOperation
alpha: BlendOperation
Trait Implementations
impl Clone for BlendEquation
[src]
fn clone(&self) -> BlendEquation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BlendEquation
[src]
impl Debug for BlendEquation
[src]
impl Default for BlendEquation
[src]
fn default() -> BlendEquation
[src]
impl Eq for BlendEquation
[src]
impl Hash for BlendEquation
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BlendEquation> for BlendEquation
[src]
fn eq(&self, other: &BlendEquation) -> bool
[src]
fn ne(&self, other: &BlendEquation) -> bool
[src]
impl StructuralEq for BlendEquation
[src]
impl StructuralPartialEq for BlendEquation
[src]
Auto Trait Implementations
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 T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,