Enum draw_state::state::Equation [] [src]

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

Derived Implementations

impl Ord for Equation

fn cmp(&self, __arg_0: &Equation) -> Ordering

impl PartialOrd for Equation

fn partial_cmp(&self, __arg_0: &Equation) -> Option<Ordering>

fn lt(&self, __arg_0: &Equation) -> bool

fn le(&self, __arg_0: &Equation) -> bool

fn gt(&self, __arg_0: &Equation) -> bool

fn ge(&self, __arg_0: &Equation) -> bool

impl Eq for Equation

impl Hash for Equation

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Debug for Equation

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for Equation

fn eq(&self, __arg_0: &Equation) -> bool

fn ne(&self, __arg_0: &Equation) -> bool

impl Clone for Equation

fn clone(&self) -> Equation

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Equation