Struct x11rb_protocol::protocol::xinput::DeviceClassType
source · pub struct DeviceClassType(/* private fields */);
Implementations§
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<'de> Deserialize<'de> for DeviceClassType
impl<'de> Deserialize<'de> for DeviceClassType
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<DeviceClassType> for Option<u16>
impl From<DeviceClassType> for Option<u16>
source§fn from(input: DeviceClassType) -> Self
fn from(input: DeviceClassType) -> Self
Converts to this type from the input type.
source§impl From<DeviceClassType> for Option<u32>
impl From<DeviceClassType> for Option<u32>
source§fn from(input: DeviceClassType) -> Self
fn from(input: DeviceClassType) -> Self
Converts to this type from the input type.
source§impl From<DeviceClassType> for u16
impl From<DeviceClassType> for u16
source§fn from(input: DeviceClassType) -> Self
fn from(input: DeviceClassType) -> Self
Converts to this type from the input type.
source§impl From<DeviceClassType> for u32
impl From<DeviceClassType> for u32
source§fn from(input: DeviceClassType) -> Self
fn from(input: DeviceClassType) -> Self
Converts to this type from the input type.
source§impl From<u16> for DeviceClassType
impl From<u16> for DeviceClassType
source§impl From<u8> for DeviceClassType
impl From<u8> for DeviceClassType
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 moresource§impl Serialize for DeviceClassType
impl Serialize for DeviceClassType
impl 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