Struct x11rb_protocol::protocol::xinput::DeviceInputMode
source · pub struct DeviceInputMode(u8);
Tuple Fields§
§0: u8
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 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§impl PartialOrd for DeviceInputMode
impl PartialOrd 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
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
)