Struct chariot_palette::PaletteColor
[−]
[src]
pub struct PaletteColor { pub r: u8, pub g: u8, pub b: u8, }
Fields
r: u8
g: u8
b: u8
Methods
impl PaletteColor
[src]
fn new() -> PaletteColor
Trait Implementations
impl Copy for PaletteColor
[src]
impl Clone for PaletteColor
[src]
fn clone(&self) -> PaletteColor
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