(&self, f: &mut std::fmt::Formatter<'_>)
| 65 | |
| 66 | impl std::fmt::Display for ColorMode { |
| 67 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 68 | match self { |
| 69 | Self::Auto => write!(f, "auto"), |
| 70 | Self::Always => write!(f, "always"), |
| 71 | Self::Never => write!(f, "never"), |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | impl std::str::FromStr for ColorMode { |
nothing calls this directly
no outgoing calls
no test coverage detected