Struct ilda::data::ColorPalette
[−]
[src]
pub struct ColorPalette { pub r: u8, pub g: u8, pub b: u8, }
Color Palette (format 2)
Fields
r: u8
g: u8
b: u8
Methods
impl ColorPalette
[src]
fn read_bytes(bytes: &[u8]) -> Result<Vec<ColorPalette>, IldaError>
Read multiple ColorPalette
from raw bytes.
Trait Implementations
impl Clone for ColorPalette
[src]
fn clone(&self) -> ColorPalette
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