#[repr(u16)]pub enum SynchronizeKind {
Show 16 variants
Report = 0,
Config = 1,
MultitouchReport = 2,
Dropped = 3,
Unknown4 = 4,
Unknown5 = 5,
Unknown6 = 6,
Unknown7 = 7,
Unknown8 = 8,
Unknown9 = 9,
UnknownA = 10,
UnknownB = 11,
UnknownC = 12,
UnknownD = 13,
UnknownE = 14,
UnknownF = 15,
}
Expand description
Synchronization events.
Variants§
Report = 0
Config = 1
MultitouchReport = 2
Dropped = 3
Unknown4 = 4
Unknown5 = 5
Unknown6 = 6
Unknown7 = 7
Unknown8 = 8
Unknown9 = 9
UnknownA = 10
UnknownB = 11
UnknownC = 12
UnknownD = 13
UnknownE = 14
UnknownF = 15
Implementations§
Source§impl SynchronizeKind
impl SynchronizeKind
Sourcepub fn iter() -> EnumIterator<Self> ⓘ
pub fn iter() -> EnumIterator<Self> ⓘ
An iterator over all values of the enum.
Source§impl SynchronizeKind
impl SynchronizeKind
Sourcepub fn from_code(code: u16) -> Result<Self, RangeError>
pub fn from_code(code: u16) -> Result<Self, RangeError>
Instantiates the enum from a raw code value.
Trait Implementations§
Source§impl BitmaskTrait for SynchronizeKind
impl BitmaskTrait for SynchronizeKind
Source§type Index = SynchronizeKind
type Index = SynchronizeKind
The type that the bitmask can be indexed by.
Source§fn array_default() -> Self::Array
fn array_default() -> Self::Array
The default empty state of the bitmask.
Source§fn array_slice(array: &Self::Array) -> &[u8] ⓘ
fn array_slice(array: &Self::Array) -> &[u8] ⓘ
A representation of the bitmask as a slice of bytes.
Source§impl Clone for SynchronizeKind
impl Clone for SynchronizeKind
Source§fn clone(&self) -> SynchronizeKind
fn clone(&self) -> SynchronizeKind
Returns a copy 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 SynchronizeKind
impl Debug for SynchronizeKind
Source§impl<'de> Deserialize<'de> for SynchronizeKind
impl<'de> Deserialize<'de> for SynchronizeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SynchronizeKind> for u16
impl From<SynchronizeKind> for u16
Source§fn from(v: SynchronizeKind) -> Self
fn from(v: SynchronizeKind) -> Self
Converts to this type from the input type.
Source§impl Hash for SynchronizeKind
impl Hash for SynchronizeKind
Source§impl IterableEnum for SynchronizeKind
impl IterableEnum for SynchronizeKind
Source§impl Ord for SynchronizeKind
impl Ord for SynchronizeKind
Source§fn cmp(&self, other: &SynchronizeKind) -> Ordering
fn cmp(&self, other: &SynchronizeKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SynchronizeKind
impl PartialEq for SynchronizeKind
Source§impl PartialOrd for SynchronizeKind
impl PartialOrd for SynchronizeKind
Source§impl Serialize for SynchronizeKind
impl Serialize for SynchronizeKind
Source§impl TryFrom<u16> for SynchronizeKind
impl TryFrom<u16> for SynchronizeKind
impl Copy for SynchronizeKind
impl Eq for SynchronizeKind
impl StructuralPartialEq for SynchronizeKind
Auto Trait Implementations§
impl Freeze for SynchronizeKind
impl RefUnwindSafe for SynchronizeKind
impl Send for SynchronizeKind
impl Sync for SynchronizeKind
impl Unpin for SynchronizeKind
impl UnwindSafe for SynchronizeKind
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