Struct x11rb::protocol::xinput::DeviceClassType
source · pub struct DeviceClassType(/* private fields */);
Implementations§
source§impl DeviceClassType
impl DeviceClassType
pub const KEY: DeviceClassType = _
pub const BUTTON: DeviceClassType = _
pub const VALUATOR: DeviceClassType = _
pub const SCROLL: DeviceClassType = _
pub const TOUCH: DeviceClassType = _
pub const GESTURE: DeviceClassType = _
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 Default for DeviceClassType
impl Default for DeviceClassType
source§fn default() -> DeviceClassType
fn default() -> DeviceClassType
Returns the “default value” for a type. Read more
source§impl From<u16> for DeviceClassType
impl From<u16> for DeviceClassType
source§fn from(value: u16) -> DeviceClassType
fn from(value: u16) -> DeviceClassType
Converts to this type from the input type.
source§impl From<u8> for DeviceClassType
impl From<u8> for DeviceClassType
source§fn from(value: u8) -> DeviceClassType
fn from(value: u8) -> DeviceClassType
Converts to this type from the input type.
source§impl Hash for DeviceClassType
impl Hash 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 StructuralEq for DeviceClassType
impl StructuralPartialEq for DeviceClassType
Auto Trait Implementations§
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