Struct gfx_core::state::Color [] [src]

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

The state of an active color render target

Fields

mask

Color mask to use.

blend

Optional blending.

Trait Implementations

impl Default for Color

fn default() -> Color

Derived Implementations

impl PartialOrd<Color> for Color

fn partial_cmp(&self, __arg_0: &Color) -> Option<Ordering>

fn lt(&self, __arg_0: &Color) -> bool

fn le(&self, __arg_0: &Color) -> bool

fn gt(&self, __arg_0: &Color) -> bool

fn ge(&self, __arg_0: &Color) -> bool

impl PartialEq<Color> for Color

fn eq(&self, __arg_0: &Color) -> bool

fn ne(&self, __arg_0: &Color) -> bool

impl Hash for Color

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Color

impl Debug for Color

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

impl Clone for Color

fn clone(&self) -> Color

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Color