pub enum BlendValue {
SourceColor,
SourceAlpha,
DestinationColor,
DestinationAlpha,
}
Expand description
Blend values.
Variants
SourceColor
SourceAlpha
DestinationColor
DestinationAlpha
Trait Implementations
sourceimpl Clone for BlendValue
impl Clone for BlendValue
sourcefn clone(&self) -> BlendValue
fn clone(&self) -> BlendValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BlendValue
impl Debug for BlendValue
sourceimpl PartialEq<BlendValue> for BlendValue
impl PartialEq<BlendValue> for BlendValue
sourcefn eq(&self, other: &BlendValue) -> bool
fn eq(&self, other: &BlendValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for BlendValue
impl Eq for BlendValue
impl StructuralEq for BlendValue
impl StructuralPartialEq for BlendValue
Auto Trait Implementations
impl RefUnwindSafe for BlendValue
impl Send for BlendValue
impl Sync for BlendValue
impl Unpin for BlendValue
impl UnwindSafe for BlendValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more