Enum afrim_preprocessor::Command
source · pub enum Command {
CommitText(String),
Pause,
Resume,
KeyPress(Key),
KeyRelease(Key),
KeyClick(Key),
}Expand description
Possible commands that can be generated.
Variants§
CommitText(String)
Request to commit a text.
Pause
Request to pause the listener.
Resume
Request to resume the listener.
KeyPress(Key)
Request to press a key.
KeyRelease(Key)
Request to release a key.
KeyClick(Key)
Request to toggle a key.
Trait Implementations§
source§impl PartialEq for Command
impl PartialEq for Command
impl Eq for Command
impl StructuralEq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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