MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / fmt

Method fmt

examples/themes_and_styles.rs:177–186  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

175
176impl std::fmt::Display for ThemeChoice {
177 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178 f.write_str(match self {
179 Self::Light => "Light",
180 Self::Dark => "Dark",
181 Self::TokyoNightStorm => "Tokyo Night Storm",
182 Self::KanagawaDragon => "Kanagawa Dragon",
183 Self::SolarizedDark => "Solarized Dark",
184 Self::Nord => "Nord",
185 })
186 }
187}
188
189#[derive(Debug, Clone, Copy, PartialEq, Eq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected