(widget: &PlotWidget, state: &mut PlotState, effects: &mut UpdateEffects)
| 1268 | |
| 1269 | impl std::fmt::Debug for Primitive { |
| 1270 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 1271 | f.debug_struct("Primitive") |
| 1272 | .field("instance_id", &self.instance_id) |
| 1273 | .finish_non_exhaustive() |
| 1274 | } |
| 1275 | } |
| 1276 | |
| 1277 | #[derive(Default, Debug)] |
| 1278 | struct UpdateEffects { |
| 1279 | needs_redraw: bool, |
| 1280 | hover_pick: Option<HoverPickEvent>, |
| 1281 | drag_event: Option<DragEvent>, |
no test coverage detected