Struct iui::draw::SolidBrush
[−]
[src]
pub struct SolidBrush { pub r: f64, pub g: f64, pub b: f64, pub a: f64, }
A brush that paints all pixels with the same color, respecting alpha.
Fields
r: f64
Red component of the color
g: f64
Green component of the color
b: f64
Blue component of the color
a: f64
Alpha (α) component of the color (that is, opacity).
Trait Implementations
impl Copy for SolidBrush
[src]
impl Clone for SolidBrush
[src]
fn clone(&self) -> SolidBrush
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for SolidBrush
[src]
fn eq(&self, __arg_0: &SolidBrush) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SolidBrush) -> bool
[src]
This method tests for !=
.