#[non_exhaustive]pub struct PlotResponse {
pub response: Response,
pub hovered: Option<usize>,
pub clicked: Option<usize>,
}Expand description
What a plot did this frame.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.response: ResponseAs any widget’s.
hovered: Option<usize>The value under the pointer.
clicked: Option<usize>The value clicked.
Trait Implementations§
Source§impl Clone for PlotResponse
impl Clone for PlotResponse
impl Copy for PlotResponse
Source§impl Debug for PlotResponse
impl Debug for PlotResponse
Source§impl Default for PlotResponse
impl Default for PlotResponse
impl Eq for PlotResponse
Source§impl PartialEq for PlotResponse
impl PartialEq for PlotResponse
impl StructuralPartialEq for PlotResponse
Auto Trait Implementations§
impl Forget for PlotResponse
impl Freeze for PlotResponse
impl Move for PlotResponse
impl RefUnwindSafe for PlotResponse
impl Send for PlotResponse
impl Sync for PlotResponse
impl Unpin for PlotResponse
impl UnsafeUnpin for PlotResponse
impl UnwindSafe for PlotResponse
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