Enum palette::blend::Parameter [] [src]

pub enum Parameter {
    One,
    Zero,
    SourceColor,
    OneMinusSourceColor,
    DestinationColor,
    OneMinusDestinationColor,
    SourceAlpha,
    OneMinusSourceAlpha,
    DestinationAlpha,
    OneMinusDestinationAlpha,
}

A blending parameter.

Variants

One

A simple 1.

Zero

A simple 0.

SourceColor

The source color, or alpha.

OneMinusSourceColor

One minus the source color, or alpha.

DestinationColor

The destination color, or alpha.

OneMinusDestinationColor

One minus the destination color, or alpha.

SourceAlpha

The source alpha.

OneMinusSourceAlpha

One minus the source alpha.

DestinationAlpha

The destination alpha.

OneMinusDestinationAlpha

One minus the destination alpha.

Trait Implementations

impl Debug for Parameter
[src]

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

Formats the value using the given formatter.

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) -> bool
1.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