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

Function vertical_label

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

Source from the content-addressed store, hash-verified

150}
151
152fn vertical_label(value: alignment::Vertical) -> &'static str {
153 match value {
154 alignment::Vertical::Top => "Top",
155 alignment::Vertical::Center => "Center",
156 alignment::Vertical::Bottom => "Bottom",
157 }
158}
159
160fn horizontal_label(value: alignment::Horizontal) -> &'static str {
161 match value {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected