#[non_exhaustive]pub enum HitKind {
Header,
Cell,
Sample,
TickX,
TickY,
Node,
}Expand description
What a pixel hit.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Header
Column header.
Cell
Data cell.
Sample
Timeseries sample. Hit.col_index is series index; row_index is point index.
TickX
X-axis tick (index in col_index).
TickY
Y-axis tick (index in col_index).
Node
Treemap node. Hit.col is crate::TreeId; row_index is leaf index when the node is a leaf.
Trait Implementations§
impl Copy for HitKind
impl Eq for HitKind
impl StructuralPartialEq for HitKind
Auto Trait Implementations§
impl Forget for HitKind
impl Freeze for HitKind
impl Move for HitKind
impl RefUnwindSafe for HitKind
impl Send for HitKind
impl Sync for HitKind
impl Unpin for HitKind
impl UnsafeUnpin for HitKind
impl UnwindSafe for HitKind
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