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

Method get_controls_mut

src/plot_widget.rs:830–832  ·  view source on GitHub ↗

Get the mutable full interaction controls behavior for the plot.

(&mut self)

Source from the content-addressed store, hash-verified

828 /// Provide a custom formatter for the cursor overlay. Called with
829 /// (x, y) world coordinates and should return the formatted string.
830 pub fn set_cursor_provider(&mut self, provider: CursorProvider) {
831 self.cursor_provider = Some(provider);
832 }
833
834 /// Enable or disable crosshairs that follow the cursor position.
835 pub fn set_crosshairs(&mut self, enabled: bool) {

Callers 6

set_dragMethod · 0.80
set_scrollMethod · 0.80
set_clickMethod · 0.80
set_double_clickMethod · 0.80
set_keyMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected