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

Class TooltipUiPayload

src/message.rs:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55#[derive(Debug, Clone, PartialEq)]
56pub struct TooltipUiPayload {
57 /// screen coordinates of the tooltip.
58 /// `screen_xy = None` means the tooltip is outside of the plot widget
59 pub screen_xy: Option<[f32; 2]>,
60 pub text: String,
61}
62
63/// Payload for the small cursor-position overlay shown in the corner.
64#[derive(Debug, Clone)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected