pub enum Equation {
Add,
Sub,
RevSub,
Min,
Max,
}
Variants§
Add
Adds source and destination. Source and destination are multiplied by blending parameters before addition.
Sub
Subtracts destination from source. Source and destination are multiplied by blending parameters before subtraction.
RevSub
Subtracts source from destination. Source and destination are multiplied by blending parameters before subtraction.
Min
Component-wise minimum value of source and destination. Blending parameters are ignored.
Max
Component-wise maximum value of source and destination. Blending parameters are ignored.
Trait Implementations§
source§impl Ord for Equation
impl Ord for Equation
source§impl PartialEq<Equation> for Equation
impl PartialEq<Equation> for Equation
source§impl PartialOrd<Equation> for Equation
impl PartialOrd<Equation> for Equation
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