Struct simplesvg::Color [] [src]

pub struct Color(pub u8, pub u8, pub u8);

Color

Trait Implementations

impl Default for Color
[src]

fn default() -> Color

Returns the "default value" for a type. Read more

impl Debug for Color
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Color
[src]

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 Copy for Color
[src]

impl Display for Color
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.