Struct x11rb::protocol::xinput::DeviceControl
source · pub struct DeviceControl(u16);
Tuple Fields§
§0: u16
Implementations§
source§impl DeviceControl
impl DeviceControl
pub const RESOLUTION: DeviceControl = _
pub const ABSCALIB: DeviceControl = _
pub const CORE: DeviceControl = _
pub const ENABLE: DeviceControl = _
pub const ABSAREA: DeviceControl = _
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<u16> for DeviceControl
impl From<u16> for DeviceControl
source§fn from(value: u16) -> DeviceControl
fn from(value: u16) -> DeviceControl
Converts to this type from the input type.
source§impl From<u8> for DeviceControl
impl From<u8> for DeviceControl
source§fn from(value: u8) -> DeviceControl
fn from(value: u8) -> DeviceControl
Converts to this type from the input type.
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 StructuralPartialEq for DeviceControl
Auto Trait Implementations§
impl Freeze for DeviceControl
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