(
&self,
renderer_state: &mut Self::Pipeline,
device: &iced::wgpu::Device,
queue: &iced::wgpu::Queue,
bounds: &Rectangle,
viewport: &Viewport,
)
| 1779 | Interaction::Pointer |
| 1780 | } else { |
| 1781 | Interaction::None |
| 1782 | } |
| 1783 | } |
| 1784 | |
| 1785 | impl shader::Program<PlotUiMessage> for PlotWidget { |
| 1786 | type State = PlotState; |
| 1787 | type Primitive = Primitive; |
| 1788 | |
| 1789 | fn draw( |
| 1790 | &self, |
| 1791 | state: &Self::State, |
| 1792 | _cursor: mouse::Cursor, |
| 1793 | _bounds: Rectangle, |
| 1794 | ) -> Self::Primitive { |
| 1795 | let mut plot_widget = state.clone(); |
| 1796 | plot_widget.grid_style = self.cached_style().grid; |
| 1797 | |
| 1798 | Primitive { |
| 1799 | instance_id: self.instance_id, |
nothing calls this directly
no test coverage detected