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