Enum amethyst_renderer::BlendValue [−]
pub enum BlendValue { SourceColor, SourceAlpha, DestColor, DestAlpha, ConstColor, ConstAlpha, }
Variants
SourceColor
SourceAlpha
DestColor
DestAlpha
ConstColor
ConstAlpha
Trait Implementations
impl PartialOrd<BlendValue> for BlendValue
impl PartialOrd<BlendValue> for BlendValue
fn partial_cmp(&self, other: &BlendValue) -> Option<Ordering>
fn partial_cmp(&self, other: &BlendValue) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for BlendValue
impl Hash for BlendValue
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for BlendValue
impl Clone for BlendValue
fn clone(&self) -> BlendValue
fn clone(&self) -> BlendValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for BlendValue
impl Debug for BlendValue
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Ord for BlendValue
impl Ord for BlendValue
fn cmp(&self, other: &BlendValue) -> Ordering
fn cmp(&self, other: &BlendValue) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Serialize for BlendValue
impl Serialize for BlendValue
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BlendValue
impl Copy for BlendValue
impl Eq for BlendValue
impl Eq for BlendValue
impl PartialEq<BlendValue> for BlendValue
impl PartialEq<BlendValue> for BlendValue
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 ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for BlendValue
impl<'de> Deserialize<'de> for BlendValue
fn deserialize<__D>(
__deserializer: __D
) -> Result<BlendValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BlendValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for BlendValue
impl Send for BlendValue
impl Sync for BlendValue
impl Sync for BlendValue