pub enum HoverEvent {
Enter {
local: Point,
},
Move {
local: Point,
},
Exit {
local: Point,
},
}Expand description
One moment of the pointer over a region, as the shell reports it through
Widget::on_hover_event. Every position is in the
region’s own coordinates.
Variants§
Enter
The pointer came into the region — or the region came under a pointer that had not moved, when the screen changed around it.
Move
The pointer moved inside the region, with no button held.
Exit
The pointer left the region, or the region went from under it.
Trait Implementations§
Source§impl Clone for HoverEvent
impl Clone for HoverEvent
impl Copy for HoverEvent
Source§impl Debug for HoverEvent
impl Debug for HoverEvent
Source§impl PartialEq for HoverEvent
impl PartialEq for HoverEvent
impl StructuralPartialEq for HoverEvent
Auto Trait Implementations§
impl Freeze for HoverEvent
impl RefUnwindSafe for HoverEvent
impl Send for HoverEvent
impl Sync for HoverEvent
impl Unpin for HoverEvent
impl UnsafeUnpin for HoverEvent
impl UnwindSafe for HoverEvent
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