#[non_exhaustive]#[repr(u8)]pub enum RawMode {
NativeGestures = 0,
RawFiltered = 1,
RawUnfilteredAndGestures = 2,
RawUnfilteredAlways = 3,
RawUnfilteredWithZ = 4,
}Expand description
The raw-reporting mode of a touch mouse.
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.
NativeGestures = 0
Native gestures only (out of the box).
RawFiltered = 1
Filtered raw data.
RawUnfilteredAndGestures = 2
Unfiltered raw data plus native gestures.
RawUnfilteredAlways = 3
Unfiltered raw data, sent even while lifted or with a button active.
RawUnfilteredWithZ = 4
Like RawUnfilteredAndGestures but with
Z information in place of width.
Trait Implementations§
impl Copy for RawMode
impl Eq for RawMode
impl StructuralPartialEq for RawMode
Auto Trait Implementations§
impl Freeze for RawMode
impl RefUnwindSafe for RawMode
impl Send for RawMode
impl Sync for RawMode
impl Unpin for RawMode
impl UnsafeUnpin for RawMode
impl UnwindSafe for RawMode
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