Struct gfx::core::pso::ColorInfo
[−]
pub struct ColorInfo {
pub mask: ColorMask,
pub color: Option<BlendChannel>,
pub alpha: Option<BlendChannel>,
}Color output configuration of the PSO.
Fields
mask: ColorMask
Color channel mask
color: Option<BlendChannel>
Optional color blending
alpha: Option<BlendChannel>
Optional alpha blending
Trait Implementations
impl PartialEq<ColorInfo> for ColorInfo
fn eq(&self, __arg_0: &ColorInfo) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ColorInfo) -> bool
This method tests for !=.
impl Hash for ColorInfo
impl Eq for ColorInfo
impl Debug for ColorInfo
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Copy for ColorInfo
impl Clone for ColorInfo
fn clone(&self) -> ColorInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more