Struct gfx::state::Color []

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 Debug for Color

Formats the value using the given formatter.

impl Hash for Color

impl PartialOrd<Color> for Color

impl PartialEq<Color> for Color

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

This method tests for !=.

impl Default for Color

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

impl Eq for Color

impl Copy for Color

impl Clone for Color

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more