Struct x11rb::protocol::xinput::DeviceInputMode
source · pub struct DeviceInputMode(/* private fields */);
Implementations§
source§impl DeviceInputMode
impl DeviceInputMode
pub const ASYNC_THIS_DEVICE: DeviceInputMode = _
pub const SYNC_THIS_DEVICE: DeviceInputMode = _
pub const REPLAY_THIS_DEVICE: DeviceInputMode = _
pub const ASYNC_OTHER_DEVICES: DeviceInputMode = _
pub const ASYNC_ALL: DeviceInputMode = _
pub const SYNC_ALL: DeviceInputMode = _
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<u8> for DeviceInputMode
impl From<u8> for DeviceInputMode
source§fn from(value: u8) -> DeviceInputMode
fn from(value: u8) -> DeviceInputMode
Converts to this type from the input type.
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 moreimpl Copy for DeviceInputMode
impl Eq for DeviceInputMode
impl StructuralEq for DeviceInputMode
impl StructuralPartialEq for DeviceInputMode
Auto Trait Implementations§
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