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

Function next_vertical

examples/plot_overlays.rs:136–142  ·  view source on GitHub ↗
(value: alignment::Vertical)

Source from the content-addressed store, hash-verified

134}
135
136fn next_vertical(value: alignment::Vertical) -> alignment::Vertical {
137 match value {
138 alignment::Vertical::Top => alignment::Vertical::Center,
139 alignment::Vertical::Center => alignment::Vertical::Bottom,
140 alignment::Vertical::Bottom => alignment::Vertical::Top,
141 }
142}
143
144fn next_horizontal(value: alignment::Horizontal) -> alignment::Horizontal {
145 match value {

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected