1 2 3 4 5 6 7 8 9
#[repr(i32)] pub enum PatternType { Solid = 0, Surface = 1, Linear = 2, Radial = 3, Mesh = 4, RasterSource = 5 }