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

Function horizontal_label

examples/plot_overlays.rs:160–166  ·  view source on GitHub ↗
(value: alignment::Horizontal)

Source from the content-addressed store, hash-verified

158}
159
160fn horizontal_label(value: alignment::Horizontal) -> &'static str {
161 match value {
162 alignment::Horizontal::Left => "Left",
163 alignment::Horizontal::Center => "Center",
164 alignment::Horizontal::Right => "Right",
165 }
166}
167
168fn plot_widget() -> PlotWidget {
169 let line = Series::line_only(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected