#[repr(u8)]pub enum CommandCode {
Show 18 variants
Delay = 0,
KeyDown = 1,
KeyUp = 2,
KeyClick = 3,
MouseMoveRel = 4,
MouseMoveAbs = 5,
MouseScroll = 6,
MouseDown = 7,
MouseUp = 8,
MouseClick = 9,
AsciiCharDown = 10,
AsciiCharUp = 11,
AsciiChar = 12,
AsciiString = 13,
UnicodeCharDown = 14,
UnicodeCharUp = 15,
UnicodeChar = 16,
UnicodeString = 17,
}
Expand description
Variants§
Delay = 0
KeyDown = 1
KeyUp = 2
KeyClick = 3
MouseMoveRel = 4
MouseMoveAbs = 5
MouseScroll = 6
MouseDown = 7
MouseUp = 8
MouseClick = 9
AsciiCharDown = 10
AsciiCharUp = 11
AsciiChar = 12
AsciiString = 13
UnicodeCharDown = 14
UnicodeCharUp = 15
UnicodeChar = 16
UnicodeString = 17
Trait Implementations§
Source§impl Clone for CommandCode
impl Clone for CommandCode
Source§fn clone(&self) -> CommandCode
fn clone(&self) -> CommandCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommandCode
impl Debug for CommandCode
Source§impl Display for CommandCode
impl Display for CommandCode
Source§impl Enum for CommandCode
impl Enum for CommandCode
Source§fn display_name(&self) -> &'static str
fn display_name(&self) -> &'static str
The display name of this enum variant. Read more
Source§fn identifier_name(&self) -> &'static str
fn identifier_name(&self) -> &'static str
The identifier name of this enum variant. Read more
Source§fn iter() -> EnumIterator<Self> ⓘ
fn iter() -> EnumIterator<Self> ⓘ
Get an iterator over the variants of the enum.
Source§impl PartialEq for CommandCode
impl PartialEq for CommandCode
impl Copy for CommandCode
impl Eq for CommandCode
impl StructuralPartialEq for CommandCode
Auto Trait Implementations§
impl Freeze for CommandCode
impl RefUnwindSafe for CommandCode
impl Send for CommandCode
impl Sync for CommandCode
impl Unpin for CommandCode
impl UnwindSafe for CommandCode
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