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