Struct x11rb_protocol::protocol::xinput::DeviceInputMode
source · pub struct DeviceInputMode(/* private fields */);
Implementations§
source§impl DeviceInputMode
impl DeviceInputMode
pub const ASYNC_THIS_DEVICE: Self = _
pub const SYNC_THIS_DEVICE: Self = _
pub const REPLAY_THIS_DEVICE: Self = _
pub const ASYNC_OTHER_DEVICES: Self = _
pub const ASYNC_ALL: Self = _
pub const SYNC_ALL: Self = _
Trait Implementations§
source§impl Clone for DeviceInputMode
impl Clone for DeviceInputMode
source§fn clone(&self) -> DeviceInputMode
fn clone(&self) -> DeviceInputMode
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 DeviceInputMode
impl Debug for DeviceInputMode
source§impl Default for DeviceInputMode
impl Default for DeviceInputMode
source§fn default() -> DeviceInputMode
fn default() -> DeviceInputMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeviceInputMode
impl<'de> Deserialize<'de> for DeviceInputMode
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<DeviceInputMode> for Option<u16>
impl From<DeviceInputMode> for Option<u16>
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<DeviceInputMode> for Option<u32>
impl From<DeviceInputMode> for Option<u32>
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<DeviceInputMode> for Option<u8>
impl From<DeviceInputMode> for Option<u8>
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<DeviceInputMode> for u16
impl From<DeviceInputMode> for u16
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<DeviceInputMode> for u32
impl From<DeviceInputMode> for u32
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<DeviceInputMode> for u8
impl From<DeviceInputMode> for u8
source§fn from(input: DeviceInputMode) -> Self
fn from(input: DeviceInputMode) -> Self
Converts to this type from the input type.
source§impl From<u8> for DeviceInputMode
impl From<u8> for DeviceInputMode
source§impl Hash for DeviceInputMode
impl Hash for DeviceInputMode
source§impl Ord for DeviceInputMode
impl Ord for DeviceInputMode
source§fn cmp(&self, other: &DeviceInputMode) -> Ordering
fn cmp(&self, other: &DeviceInputMode) -> 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 DeviceInputMode
impl PartialEq for DeviceInputMode
source§fn eq(&self, other: &DeviceInputMode) -> bool
fn eq(&self, other: &DeviceInputMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceInputMode
impl PartialOrd for DeviceInputMode
source§fn partial_cmp(&self, other: &DeviceInputMode) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceInputMode) -> 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 DeviceInputMode
impl Serialize for DeviceInputMode
impl Copy for DeviceInputMode
impl Eq for DeviceInputMode
impl StructuralPartialEq for DeviceInputMode
Auto Trait Implementations§
impl Freeze for DeviceInputMode
impl RefUnwindSafe for DeviceInputMode
impl Send for DeviceInputMode
impl Sync for DeviceInputMode
impl Unpin for DeviceInputMode
impl UnwindSafe for DeviceInputMode
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