pub struct ChartCanvasOutputSnapshot {
pub brush_selection_2d: Option<BrushSelection2D>,
pub brush_x_row_ranges_by_series: BTreeMap<SeriesId, RowRange>,
pub link_events: Vec<LinkEvent>,
pub tooltip_lines: Vec<TooltipTextLine>,
pub domain_windows_by_key: BTreeMap<LinkAxisKey, Option<DataWindow>>,
}Fields§
§brush_selection_2d: Option<BrushSelection2D>§brush_x_row_ranges_by_series: BTreeMap<SeriesId, RowRange>§link_events: Vec<LinkEvent>§tooltip_lines: Vec<TooltipTextLine>§domain_windows_by_key: BTreeMap<LinkAxisKey, Option<DataWindow>>The current effective domain windows keyed in LinkAxisKey space.
This is used by LinkedChartGroup to propagate domain window changes even when link
events are not observed (for example, when a consumer polls outputs rather than draining
per-step event queues).
Trait Implementations§
Source§impl Clone for ChartCanvasOutputSnapshot
impl Clone for ChartCanvasOutputSnapshot
Source§fn clone(&self) -> ChartCanvasOutputSnapshot
fn clone(&self) -> ChartCanvasOutputSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChartCanvasOutputSnapshot
impl Debug for ChartCanvasOutputSnapshot
Source§impl Default for ChartCanvasOutputSnapshot
impl Default for ChartCanvasOutputSnapshot
Source§fn default() -> ChartCanvasOutputSnapshot
fn default() -> ChartCanvasOutputSnapshot
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ChartCanvasOutputSnapshot
Auto Trait Implementations§
impl Freeze for ChartCanvasOutputSnapshot
impl RefUnwindSafe for ChartCanvasOutputSnapshot
impl Send for ChartCanvasOutputSnapshot
impl Sync for ChartCanvasOutputSnapshot
impl Unpin for ChartCanvasOutputSnapshot
impl UnsafeUnpin for ChartCanvasOutputSnapshot
impl UnwindSafe for ChartCanvasOutputSnapshot
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