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, or the hovered item didn’t provide an id.
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more