Searched refs:PaletteColor (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/plotters/src/style/ |
D | color.rs | 70 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
|
D | palette.rs | 1 use super::color::PaletteColor; 5 fn pick(idx: usize) -> PaletteColor<Self> in pick() 9 PaletteColor::<Self>::pick(idx) in pick()
|
D | mod.rs | 14 pub use color::{Color, HSLColor, PaletteColor, RGBAColor, RGBColor};
|
/external/rust/crates/plotters/src/ |
D | lib.rs | 745 Palette, Palette100, Palette99, Palette9999, PaletteColor, RGBColor, ShapeStyle, TextStyle,
|