[][src]Enum gfx::state::Equation

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

impl Clone for Equation[src]

impl Copy for Equation[src]

impl Debug for Equation[src]

impl Eq for Equation[src]

impl Hash for Equation[src]

impl Ord for Equation[src]

impl PartialEq<Equation> for Equation[src]

impl PartialOrd<Equation> for Equation[src]

impl StructuralEq for Equation[src]

impl StructuralPartialEq for Equation[src]

Auto Trait Implementations

impl RefUnwindSafe for Equation

impl Send for Equation

impl Sync for Equation

impl Unpin for Equation

impl UnwindSafe for Equation

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.