1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/// Font style #[derive(Debug, Clone)] pub enum FontStyle { /// Default font style. Normal, /// Thick. Bold, /// Slanted. Italic, /// Crossed out. Oblique, } impl Default for FontStyle { fn default() -> Self { FontStyle::Normal } }