Struct gfx::state::Color [] [src]

pub struct Color {
    pub mask: ColorMask,
    pub blend: Option<Blend>,
}

The state of an active color render target

Fields

Color mask to use.

Optional blending.

Trait Implementations

impl Hash for Color
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for Color
[src]

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Color
[src]

impl PartialEq<Color> for Color
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Color
[src]

[src]

Formats the value using the given formatter.

impl Default for Color
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialOrd<Color> for Color
[src]

[src]

[src]

[src]

[src]

[src]