Struct gfx::state::Color
[−]
pub struct Color { pub mask: ColorMask, pub blend: Option<Blend>, }
The state of an active color render target
Fields
mask: ColorMask
Color mask to use.
blend: Option<Blend>
Optional blending.
Trait Implementations
impl Copy for Color
impl Clone for Color
fn clone(&self) -> Color
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
impl Debug for Color
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Eq for Color
impl Hash for Color
impl PartialEq<Color> for Color
fn eq(&self, __arg_0: &Color) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Color) -> bool
This method tests for !=
.