Enum xcb::xinput::DeviceClassType
source · #[repr(u32)]pub enum DeviceClassType {
Key = 0,
Button = 1,
Valuator = 2,
Scroll = 3,
Touch = 8,
}
Variants§
Trait Implementations§
source§impl Clone for DeviceClassType
impl Clone for DeviceClassType
source§fn clone(&self) -> DeviceClassType
fn clone(&self) -> DeviceClassType
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 DeviceClassType
impl Debug for DeviceClassType
source§impl Ord for DeviceClassType
impl Ord for DeviceClassType
source§fn cmp(&self, other: &DeviceClassType) -> Ordering
fn cmp(&self, other: &DeviceClassType) -> 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 DeviceClassType
impl PartialEq for DeviceClassType
source§fn eq(&self, other: &DeviceClassType) -> bool
fn eq(&self, other: &DeviceClassType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceClassType
impl PartialOrd for DeviceClassType
source§fn partial_cmp(&self, other: &DeviceClassType) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceClassType) -> 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 moreimpl Copy for DeviceClassType
impl Eq for DeviceClassType
impl StructuralPartialEq for DeviceClassType
Auto Trait Implementations§
impl Freeze for DeviceClassType
impl RefUnwindSafe for DeviceClassType
impl Send for DeviceClassType
impl Sync for DeviceClassType
impl Unpin for DeviceClassType
impl UnwindSafe for DeviceClassType
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