pub enum ListenerEventKind {
Down,
Move,
Up,
Cancel,
Hover,
}Expand description
What happened to the pointer, as a Listener hears it (milestone 586).
Variants§
Down
A finger touched, or a mouse button went down, inside the listener.
Move
The pointer that went down inside moved — wherever it is now.
Up
The pointer that went down inside lifted — wherever it is now.
Cancel
The gesture was interrupted: the application went to the background, the touch was taken back by the system.
Hover
A mouse moved inside the listener with no button held.
Trait Implementations§
Source§impl Clone for ListenerEventKind
impl Clone for ListenerEventKind
impl Copy for ListenerEventKind
Source§impl Debug for ListenerEventKind
impl Debug for ListenerEventKind
impl Eq for ListenerEventKind
Source§impl PartialEq for ListenerEventKind
impl PartialEq for ListenerEventKind
impl StructuralPartialEq for ListenerEventKind
Auto Trait Implementations§
impl Freeze for ListenerEventKind
impl RefUnwindSafe for ListenerEventKind
impl Send for ListenerEventKind
impl Sync for ListenerEventKind
impl Unpin for ListenerEventKind
impl UnsafeUnpin for ListenerEventKind
impl UnwindSafe for ListenerEventKind
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