MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / TooltipContext

Class TooltipContext

src/message.rs:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44/// Contains information identifying the point being highlighted.
45#[derive(Debug, Clone, Copy)]
46pub struct TooltipContext<'a> {
47 /// ID of the series
48 pub series_id: ShapeId,
49 /// Label of the series, if any (empty string means none)
50 pub series_label: &'a str,
51 /// Index within the series [0..len)
52 pub point_index: usize,
53}
54
55#[derive(Debug, Clone, PartialEq)]
56pub struct TooltipUiPayload {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected