Enum x11_event_monitor::EventType
source · pub enum EventType<'a> {
MouseMotion {
x: i32,
y: i32,
},
KeyPress {
scancode: u32,
name: &'a str,
},
KeyRelease {
scancode: u32,
name: &'a str,
},
Button {
name: &'a str,
x: i32,
y: i32,
},
MouseWheel {
x_delta: f32,
y_delta: f32,
},
Clipboard {
text: &'a str,
data: &'a [u8],
escaped: &'a str,
},
Selection {
text: &'a str,
data: &'a [u8],
escaped: &'a str,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventType<'a>
impl<'a> Send for EventType<'a>
impl<'a> Sync for EventType<'a>
impl<'a> Unpin for EventType<'a>
impl<'a> UnwindSafe for EventType<'a>
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