pub struct ListenerEvent {
pub kind: ListenerEventKind,
pub local: Point,
pub touch: bool,
}Expand description
One raw event of the pointer, in the listener’s own coordinates (milestone 586).
Fields§
§kind: ListenerEventKindWhat happened.
local: PointWhere the pointer is, in the listener’s coordinates — outside its box for a move or a release that left it.
touch: boolWhether the pointer is a finger rather than a mouse.
Trait Implementations§
Source§impl Clone for ListenerEvent
impl Clone for ListenerEvent
impl Copy for ListenerEvent
Source§impl Debug for ListenerEvent
impl Debug for ListenerEvent
Source§impl PartialEq for ListenerEvent
impl PartialEq for ListenerEvent
impl StructuralPartialEq for ListenerEvent
Auto Trait Implementations§
impl Freeze for ListenerEvent
impl RefUnwindSafe for ListenerEvent
impl Send for ListenerEvent
impl Sync for ListenerEvent
impl Unpin for ListenerEvent
impl UnsafeUnpin for ListenerEvent
impl UnwindSafe for ListenerEvent
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