(&self, f: &mut std::fmt::Formatter<'_>)
| 15 | |
| 16 | impl std::fmt::Display for ThemeMode { |
| 17 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 18 | match self { |
| 19 | Self::Auto => write!(f, "auto"), |
| 20 | Self::Dark => write!(f, "dark"), |
| 21 | Self::Light => write!(f, "light"), |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | impl std::str::FromStr for ThemeMode { |
nothing calls this directly
no outgoing calls
no test coverage detected