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

Enum PanDirection

src/controls.rs:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88/// Direction for keyboard-style panning.
89#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
90pub enum PanDirection {
91 /// Pan toward smaller x values.
92 Left,
93 /// Pan toward larger x values.
94 Right,
95 /// Pan toward larger y values.
96 Up,
97 /// Pan toward smaller y values.
98 Down,
99}
100
101// In keeping with our batteries-included philosophy, most everything is enabled by default.
102

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected