pub struct LinuxInputProvider;Implementations§
Trait Implementations§
Source§impl Default for LinuxInputProvider
impl Default for LinuxInputProvider
Source§fn default() -> LinuxInputProvider
fn default() -> LinuxInputProvider
Returns the “default value” for a type. Read more
Source§impl InputProvider for LinuxInputProvider
impl InputProvider for LinuxInputProvider
Source§fn pointer_move(&self, _: Point) -> Result<()>
fn pointer_move(&self, _: Point) -> Result<()>
Move the pointer to
to without pressing any buttons.Source§fn pointer_down(&self, _: MouseButton) -> Result<()>
fn pointer_down(&self, _: MouseButton) -> Result<()>
Press
button at the current pointer location (no release).Source§fn pointer_up(&self, _: MouseButton) -> Result<()>
fn pointer_up(&self, _: MouseButton) -> Result<()>
Release
button at the current pointer location.Source§fn pointer_click(&self, _: Point, _: MouseButton, _: u32) -> Result<()>
fn pointer_click(&self, _: Point, _: MouseButton, _: u32) -> Result<()>
Click
button at at, repeated count times. The backend is
responsible for honouring the OS double-click interval when
count > 1 and for any platform-specific click-state bookkeeping
(e.g. kCGMouseEventClickState on macOS).Source§fn pointer_scroll(&self, _: Point, _: ScrollDelta) -> Result<()>
fn pointer_scroll(&self, _: Point, _: ScrollDelta) -> Result<()>
Scroll by
delta ticks at at.Auto Trait Implementations§
impl Freeze for LinuxInputProvider
impl RefUnwindSafe for LinuxInputProvider
impl Send for LinuxInputProvider
impl Sync for LinuxInputProvider
impl Unpin for LinuxInputProvider
impl UnsafeUnpin for LinuxInputProvider
impl UnwindSafe for LinuxInputProvider
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