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§impl PartialOrd for DeviceControl
impl PartialOrd for DeviceControl
impl 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
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
)