Skip to main content

HoverFn

Type Alias HoverFn 

Source
pub type HoverFn = Rc<dyn Fn(&IndicatorState, &AppHandle) -> Card>;
Expand description

A hover card’s content, built from the item’s state when shown (and when an agent reads it).

Aliased Type§

pub struct HoverFn { /* private fields */ }