Struct gfx_core::pso::ColorInfo [] [src]

pub struct ColorInfo {
    pub mask: ColorMask,
    pub color: Option<BlendChannel>,
    pub alpha: Option<BlendChannel>,
}

Color output configuration of the PSO.

Fields

mask

Color channel mask

color

Optional color blending

alpha

Optional alpha blending

Trait Implementations

impl From<ColorMask> for ColorInfo

fn from(mask: ColorMask) -> ColorInfo

impl From<Blend> for ColorInfo

fn from(blend: Blend) -> ColorInfo

Derived Implementations

impl PartialEq for ColorInfo

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

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

impl Hash for ColorInfo

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

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

impl Eq for ColorInfo

impl Debug for ColorInfo

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

impl Copy for ColorInfo

impl Clone for ColorInfo

fn clone(&self) -> ColorInfo

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