Enum gfx::state::BlendValue
source · pub enum BlendValue {
SourceColor,
SourceAlpha,
DestColor,
DestAlpha,
ConstColor,
ConstAlpha,
}
Variants§
Trait Implementations§
source§impl Clone for BlendValue
impl Clone for BlendValue
source§fn clone(&self) -> BlendValue
fn clone(&self) -> BlendValue
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 BlendValue
impl Debug for BlendValue
source§impl Hash for BlendValue
impl Hash for BlendValue
source§impl Ord for BlendValue
impl Ord for BlendValue
source§fn cmp(&self, other: &BlendValue) -> Ordering
fn cmp(&self, other: &BlendValue) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BlendValue> for BlendValue
impl PartialEq<BlendValue> for BlendValue
source§fn 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 ==
.source§impl PartialOrd<BlendValue> for BlendValue
impl PartialOrd<BlendValue> for BlendValue
source§fn partial_cmp(&self, other: &BlendValue) -> Option<Ordering>
fn partial_cmp(&self, other: &BlendValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more