enums.rs
548 B · rust · 20 lines
1/// The ways paint picks a color within a type's palette.2#[derive(Clone, Copy, Debug, PartialEq, Eq)]3pub enum Mode {4 /// The first palette color, always.5 Type,6 /// The color each cell's tag indexes.7 Tag,8 /// The color the flat position indexes.9 Index,10 /// The colors cycled in encounter order.11 Enumerate,12 /// A random palette color per cell.13 Random,14 /// The color the row index picks.15 Row,16 /// The color the column index picks.17 Column,18 /// The color the depth index picks.19 Depth,20}