Struct DeviceType
pub struct DeviceType(/* private fields */);
Implementations§
§impl DeviceType
impl DeviceType
pub const MASTER_POINTER: DeviceType = _
pub const MASTER_KEYBOARD: DeviceType = _
pub const SLAVE_POINTER: DeviceType = _
pub const SLAVE_KEYBOARD: DeviceType = _
pub const FLOATING_SLAVE: DeviceType = _
Trait Implementations§
§impl Clone for DeviceType
impl Clone for DeviceType
§fn clone(&self) -> DeviceType
fn clone(&self) -> DeviceType
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 more§impl Debug for DeviceType
impl Debug for DeviceType
§impl Default for DeviceType
impl Default for DeviceType
§fn default() -> DeviceType
fn default() -> DeviceType
Returns the “default value” for a type. Read more
§impl From<u16> for DeviceType
impl From<u16> for DeviceType
§fn from(value: u16) -> DeviceType
fn from(value: u16) -> DeviceType
Converts to this type from the input type.
§impl From<u8> for DeviceType
impl From<u8> for DeviceType
§fn from(value: u8) -> DeviceType
fn from(value: u8) -> DeviceType
Converts to this type from the input type.
§impl Hash for DeviceType
impl Hash for DeviceType
§impl Ord for DeviceType
impl Ord for DeviceType
§impl PartialEq for DeviceType
impl PartialEq for DeviceType
§impl PartialOrd for DeviceType
impl PartialOrd for DeviceType
impl Copy for DeviceType
impl Eq for DeviceType
impl StructuralPartialEq for DeviceType
Auto Trait Implementations§
impl Freeze for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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
)