Enum linux_input::InputEventBody [−][src]
pub enum InputEventBody { KeyPress(Key), KeyRelease(Key), RelativeMove { axis: RelativeAxis, delta: i32, }, AbsoluteMove { axis: AbsoluteAxis, position: i32, }, Flush, Dropped, Other { kind: EventKind, code: u16, value: i32, }, }
Variants
Tuple Fields of KeyPress
0: Key
Tuple Fields of KeyRelease
0: Key
Fields of RelativeMove
axis: RelativeAxis
delta: i32
Fields of AbsoluteMove
axis: AbsoluteAxis
position: i32
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InputEventBody
impl Send for InputEventBody
impl Sync for InputEventBody
impl Unpin for InputEventBody
impl UnwindSafe for InputEventBody
Blanket Implementations
Mutably borrows from an owned value. Read more