Struct gfx::state::Color
[−]
[src]
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 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
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 !=
.
impl Hash for Color
impl Eq for Color
impl Debug for Color
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
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