Struct nannou::draw::theme::Color
[−]
[src]
pub struct Color { pub default: Rgba, pub primitive: HashMap<Primitive, Rgba>, }
A set of defaults used for coloring.
Fields
default: Rgba
primitive: HashMap<Primitive, Rgba>
Trait Implementations
impl Clone for Color
[src]
fn clone(&self) -> Color
[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 Debug for Color
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more