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

Function next_horizontal

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

Source from the content-addressed store, hash-verified

142}
143
144fn next_horizontal(value: alignment::Horizontal) -> alignment::Horizontal {
145 match value {
146 alignment::Horizontal::Left => alignment::Horizontal::Center,
147 alignment::Horizontal::Center => alignment::Horizontal::Right,
148 alignment::Horizontal::Right => alignment::Horizontal::Left,
149 }
150}
151
152fn vertical_label(value: alignment::Vertical) -> &'static str {
153 match value {

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected