1 2 3 4 5 6 7 8 9 10 11
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum PaintingStyle { Fill = 0, Stroke = 1, } impl Default for PaintingStyle { fn default() -> Self { Self::Fill } }