Struct x11rb_protocol::protocol::xinput::DeviceClassType
source · pub struct DeviceClassType(u16);
Tuple Fields§
§0: u16
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 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§impl PartialOrd for DeviceClassType
impl PartialOrd 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)