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

Method valid_point_id

src/plot_widget.rs:1817–1822  ·  view source on GitHub ↗

Check if the point index is valid for the series

(&self, point_id: &PointId)

Source from the content-addressed store, hash-verified

1815 state: &Self::State,
1816 _bounds: Rectangle,
1817 _cursor: mouse::Cursor,
1818 ) -> Interaction {
1819 plot_mouse_interaction(state)
1820 }
1821}
1822
1823#[cfg(feature = "canvas")]
1824impl iced::widget::canvas::Program<PlotUiMessage> for PlotWidget {
1825 type State = PlotState;

Callers 3

consume_gpu_pick_resultsFunction · 0.80
pick_hitMethod · 0.80

Calls 2

mapMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected