pub struct YdotoolInjector;Expand description
Linux/Wayland injector via ydotool (evdev keycodes).
Trait Implementations§
Source§impl Debug for YdotoolInjector
impl Debug for YdotoolInjector
Source§impl Default for YdotoolInjector
impl Default for YdotoolInjector
Source§fn default() -> YdotoolInjector
fn default() -> YdotoolInjector
Returns the “default value” for a type. Read more
Source§impl Injector for YdotoolInjector
impl Injector for YdotoolInjector
Source§fn inject(&self, cmd: &InjectionCommand) -> Result<(), AppError>
fn inject(&self, cmd: &InjectionCommand) -> Result<(), AppError>
Replay one command. A per-command failure is logged by the caller and
does not tear down the daemon.
Source§fn semantic_event(&self, _event: &SemanticEvent) -> Result<(), AppError>
fn semantic_event(&self, _event: &SemanticEvent) -> Result<(), AppError>
Additive application-event hook. Never fall back to OS injection.
fn supports_events(&self) -> bool
Auto Trait Implementations§
impl Freeze for YdotoolInjector
impl RefUnwindSafe for YdotoolInjector
impl Send for YdotoolInjector
impl Sync for YdotoolInjector
impl Unpin for YdotoolInjector
impl UnsafeUnpin for YdotoolInjector
impl UnwindSafe for YdotoolInjector
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