pub fn on_hover(
view: &ViewHandle,
callback: impl Fn(bool) + 'static,
) -> ViewHandleExpand description
Apply .onHover(perform:).
On macOS this fires on mouse hover; on visionOS, when the user’s gaze lands
on the view. The callback receives true on enter and false on exit.