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