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

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

A blending parameter.

Variants

A simple 1.

A simple 0.

The source color, or alpha.

One minus the source color, or alpha.

The destination color, or alpha.

One minus the destination color, or alpha.

The source alpha.

One minus the source alpha.

The destination alpha.

One minus the destination alpha.

Trait Implementations

impl Clone for Parameter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Parameter
[src]

impl PartialEq for Parameter
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Parameter
[src]

impl Debug for Parameter
[src]

Formats the value using the given formatter.