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