Home
last modified time | relevance | path

Searched refs:PaletteColor (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/plotters/src/style/
Dcolor.rs70 pub struct PaletteColor<P: Palette>(usize, PhantomData<P>); struct
72 impl<P: Palette> PaletteColor<P> { impl
74 pub fn pick(idx: usize) -> PaletteColor<P> { in pick()
75 PaletteColor(idx % P::COLORS.len(), PhantomData) in pick()
79 impl<P: Palette> BackendStyle for PaletteColor<P> { implementation
89 impl<P: Palette> Color for PaletteColor<P> {} implementation
Dpalette.rs1 use super::color::PaletteColor;
5 fn pick(idx: usize) -> PaletteColor<Self> in pick()
9 PaletteColor::<Self>::pick(idx) in pick()
Dmod.rs14 pub use color::{Color, HSLColor, PaletteColor, RGBAColor, RGBColor};
/external/rust/crates/plotters/src/
Dlib.rs745 Palette, Palette100, Palette99, Palette9999, PaletteColor, RGBColor, ShapeStyle, TextStyle,