pub enum PickedDataRef {
Point {
source_id: Option<String>,
series_id: String,
point_index: usize,
},
HistogramBin {
source_id: Option<String>,
series_id: String,
bin_index: usize,
},
MatrixCell {
source_id: Option<String>,
series_id: String,
x_index: usize,
y_index: usize,
},
ContourLevel {
source_id: Option<String>,
series_id: String,
level_index: usize,
x_index: usize,
y_index: usize,
},
}Expand description
A renderer-independent reference to one selected data primitive.
These records deliberately carry provenance only. Coordinates, bin edges, matrix values, and contour values remain in the caller’s registered source columns / series configuration; the renderer never creates a CPU shadow of GPU-owned data just to remember a selection.
Variants§
Point
HistogramBin
MatrixCell
Fields
ContourLevel
Implementations§
Trait Implementations§
Source§impl Clone for PickedDataRef
impl Clone for PickedDataRef
Source§impl Debug for PickedDataRef
impl Debug for PickedDataRef
Source§impl<'de> Deserialize<'de> for PickedDataRef
impl<'de> Deserialize<'de> for PickedDataRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PickedDataRef
impl PartialEq for PickedDataRef
Source§impl Serialize for PickedDataRef
impl Serialize for PickedDataRef
impl StructuralPartialEq for PickedDataRef
Auto Trait Implementations§
impl Freeze for PickedDataRef
impl RefUnwindSafe for PickedDataRef
impl Send for PickedDataRef
impl Sync for PickedDataRef
impl Unpin for PickedDataRef
impl UnsafeUnpin for PickedDataRef
impl UnwindSafe for PickedDataRef
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