pub struct PointerButton {
pub time_ms: u32,
pub button: u32,
pub pressed: bool,
}Expand description
A pointer button going down or coming up.
Fields§
§time_ms: u32libinput’s timestamp, in milliseconds.
The evdev button code: BTN_LEFT, BTN_RIGHT, and so on.
pressed: boolDown, rather than up.
Trait Implementations§
Source§impl Clone for PointerButton
impl Clone for PointerButton
Source§impl Debug for PointerButton
impl Debug for PointerButton
impl Eq for PointerButton
Source§impl PartialEq for PointerButton
impl PartialEq for PointerButton
impl StructuralPartialEq for PointerButton
Auto Trait Implementations§
impl Freeze for PointerButton
impl RefUnwindSafe for PointerButton
impl Send for PointerButton
impl Sync for PointerButton
impl Unpin for PointerButton
impl UnsafeUnpin for PointerButton
impl UnwindSafe for PointerButton
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