pub struct PlotResponse<R> {
pub inner: R,
pub response: Response,
pub transform: PlotTransform,
pub hovered_plot_item: Option<Id>,
}Expand description
What Plot::show returns.
Fields§
§inner: RWhat the user closure returned.
response: ResponseThe response of the plot.
transform: PlotTransformThe transform between screen coordinates and plot coordinates.
hovered_plot_item: Option<Id>The id of a currently hovered item if any.
This is None if either no item was hovered.
A plot item can be hovered either by hovering its representation in the plot (line, marker, etc.)
or by hovering the item in the legend.
Auto Trait Implementations§
impl<R> Freeze for PlotResponse<R>where
R: Freeze,
impl<R> !RefUnwindSafe for PlotResponse<R>
impl<R> Send for PlotResponse<R>where
R: Send,
impl<R> Sync for PlotResponse<R>where
R: Sync,
impl<R> Unpin for PlotResponse<R>where
R: Unpin,
impl<R> !UnwindSafe for PlotResponse<R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more