Enum input_linux::SynchronizeKind
source · #[repr(u16)]
pub enum SynchronizeKind {
Show 16 variants
Report,
Config,
MultitouchReport,
Dropped,
Unknown4,
Unknown5,
Unknown6,
Unknown7,
Unknown8,
Unknown9,
UnknownA,
UnknownB,
UnknownC,
UnknownD,
UnknownE,
UnknownF,
}Expand description
Synchronization events.
Variants§
Report
Config
MultitouchReport
Dropped
Unknown4
Unknown5
Unknown6
Unknown7
Unknown8
Unknown9
UnknownA
UnknownB
UnknownC
UnknownD
UnknownE
UnknownF
Implementations§
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
§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<SynchronizeKind> for SynchronizeKind
impl PartialEq<SynchronizeKind> for SynchronizeKind
source§fn eq(&self, other: &SynchronizeKind) -> bool
fn eq(&self, other: &SynchronizeKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SynchronizeKind> for SynchronizeKind
impl PartialOrd<SynchronizeKind> for SynchronizeKind
source§fn partial_cmp(&self, other: &SynchronizeKind) -> Option<Ordering>
fn partial_cmp(&self, other: &SynchronizeKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more