Enum palette::blend::Parameter
[−]
[src]
pub enum Parameter {
One,
Zero,
SourceColor,
OneMinusSourceColor,
DestinationColor,
OneMinusDestinationColor,
SourceAlpha,
OneMinusSourceAlpha,
DestinationAlpha,
OneMinusDestinationAlpha,
}A blending parameter.
Variants
OneA simple 1.
ZeroA simple 0.
SourceColorThe source color, or alpha.
OneMinusSourceColorOne minus the source color, or alpha.
DestinationColorThe destination color, or alpha.
OneMinusDestinationColorOne minus the destination color, or alpha.
SourceAlphaThe source alpha.
OneMinusSourceAlphaOne minus the source alpha.
DestinationAlphaThe destination alpha.
OneMinusDestinationAlphaOne minus the destination alpha.
Trait Implementations
impl Debug for Parameter[src]
impl Eq for Parameter[src]
impl PartialEq for Parameter[src]
fn eq(&self, __arg_0: &Parameter) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for Parameter[src]
impl Clone for Parameter[src]
fn clone(&self) -> Parameter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more