Enum gfx::device::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 Debug for Equation

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

impl Clone for Equation

fn clone(&self) -> Equation

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

impl Copy for Equation

impl Hash for Equation

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

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

impl PartialOrd<Equation> 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 PartialEq<Equation> for Equation

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

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

impl Ord for Equation

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

impl Eq for Equation