[][src]Trait plotters::prelude::Palette

pub trait Palette {
    const COLORS: &'static [(u8, u8, u8)];
    fn pick(idx: usize) -> PaletteColor<Self>
    where
        Self: Sized
, { ... } }

Associated Constants

const COLORS: &'static [(u8, u8, u8)]

Loading content...

Provided methods

fn pick(idx: usize) -> PaletteColor<Self> where
    Self: Sized

Loading content...

Implementors

impl Palette for Palette100[src]

fn pick(idx: usize) -> PaletteColor<Self> where
    Self: Sized
[src]

impl Palette for Palette99[src]

fn pick(idx: usize) -> PaletteColor<Self> where
    Self: Sized
[src]

impl Palette for Palette9999[src]

fn pick(idx: usize) -> PaletteColor<Self> where
    Self: Sized
[src]

Loading content...