Struct x11rb::protocol::xinput::DeviceType
source · pub struct DeviceType(/* private fields */);
Implementations§
source§impl DeviceType
impl DeviceType
pub const MASTER_POINTER: DeviceType = _
pub const MASTER_KEYBOARD: DeviceType = _
pub const SLAVE_POINTER: DeviceType = _
pub const SLAVE_KEYBOARD: DeviceType = _
pub const FLOATING_SLAVE: DeviceType = _
Trait Implementations§
source§impl Clone for DeviceType
impl Clone for DeviceType
source§fn clone(&self) -> DeviceType
fn clone(&self) -> DeviceType
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 DeviceType
impl Debug for DeviceType
source§impl Default for DeviceType
impl Default for DeviceType
source§fn default() -> DeviceType
fn default() -> DeviceType
Returns the “default value” for a type. Read more
source§impl From<u16> for DeviceType
impl From<u16> for DeviceType
source§fn from(value: u16) -> DeviceType
fn from(value: u16) -> DeviceType
Converts to this type from the input type.
source§impl From<u8> for DeviceType
impl From<u8> for DeviceType
source§fn from(value: u8) -> DeviceType
fn from(value: u8) -> DeviceType
Converts to this type from the input type.
source§impl Hash for DeviceType
impl Hash for DeviceType
source§impl Ord for DeviceType
impl Ord for DeviceType
source§fn cmp(&self, other: &DeviceType) -> Ordering
fn cmp(&self, other: &DeviceType) -> 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 DeviceType
impl PartialEq for DeviceType
source§fn eq(&self, other: &DeviceType) -> bool
fn eq(&self, other: &DeviceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceType
impl PartialOrd for DeviceType
source§fn partial_cmp(&self, other: &DeviceType) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceType) -> 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 DeviceType
impl Eq for DeviceType
impl StructuralEq for DeviceType
impl StructuralPartialEq for DeviceType
Auto Trait Implementations§
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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