pub struct EvDevMouse { /* private fields */ }Implementations§
Source§impl EvDevMouse
impl EvDevMouse
pub fn new(device: &EvDevDeviceInfo) -> Self
Trait Implementations§
Source§impl EvDevDeviceHandler for EvDevMouse
impl EvDevDeviceHandler for EvDevMouse
Source§fn handle_event(
&mut self,
ev: &input_event,
screen_size: Size,
out: &mut Vec<EvDevRawEvent>,
)
fn handle_event( &mut self, ev: &input_event, screen_size: Size, out: &mut Vec<EvDevRawEvent>, )
HandleEvent. screen_size is the scaled size of the screen.Auto Trait Implementations§
impl Freeze for EvDevMouse
impl RefUnwindSafe for EvDevMouse
impl Send for EvDevMouse
impl Sync for EvDevMouse
impl Unpin for EvDevMouse
impl UnsafeUnpin for EvDevMouse
impl UnwindSafe for EvDevMouse
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more