Enum xcb::xinput::DeviceInputMode
source · #[repr(u32)]pub enum DeviceInputMode {
AsyncThisDevice = 0,
SyncThisDevice = 1,
ReplayThisDevice = 2,
AsyncOtherDevices = 3,
AsyncAll = 4,
SyncAll = 5,
}
Variants§
AsyncThisDevice = 0
SyncThisDevice = 1
ReplayThisDevice = 2
AsyncOtherDevices = 3
AsyncAll = 4
SyncAll = 5
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 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
)