#[non_exhaustive]pub enum Data {
FingerDown(CInputTouchFingerDownMsg),
FingerMotion(CInputTouchFingerMotionMsg),
FingerUp(CInputTouchFingerUpMsg),
MouseMotion(CInputMouseMotionMsg),
MouseWheel(CInputMouseWheelMsg),
MouseDown(CInputMouseDownMsg),
MouseUp(CInputMouseUpMsg),
KeyDown(CInputKeyDownMsg),
KeyUp(CInputKeyUpMsg),
Text(CInputTextMsg),
Hid(CRemoteHIDMsg),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FingerDown(CInputTouchFingerDownMsg)
FingerMotion(CInputTouchFingerMotionMsg)
FingerUp(CInputTouchFingerUpMsg)
MouseMotion(CInputMouseMotionMsg)
MouseWheel(CInputMouseWheelMsg)
MouseDown(CInputMouseDownMsg)
MouseUp(CInputMouseUpMsg)
KeyDown(CInputKeyDownMsg)
KeyUp(CInputKeyUpMsg)
Text(CInputTextMsg)
Hid(CRemoteHIDMsg)
Trait Implementations§
source§impl PartialEq for Data
impl PartialEq for Data
impl Oneof for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl !Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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