pub trait Palette {
const COLORS: &'static [(u8, u8, u8)];
fn pick(idx: usize) -> PaletteColor<Self> { ... }
}
Expand description
Represents a color palette
Required Associated Constants
Provided Methods
sourcefn pick(idx: usize) -> PaletteColor<Self>
fn pick(idx: usize) -> PaletteColor<Self>
Returns a color from the palette