Struct x11rb_protocol::protocol::xinput::InputClass
source · pub struct InputClass(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for InputClass
impl Clone for InputClass
source§fn clone(&self) -> InputClass
fn clone(&self) -> InputClass
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 InputClass
impl Debug for InputClass
source§impl Default for InputClass
impl Default for InputClass
source§fn default() -> InputClass
fn default() -> InputClass
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputClass
impl<'de> Deserialize<'de> for InputClass
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<InputClass> for Option<u16>
impl From<InputClass> for Option<u16>
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<InputClass> for Option<u32>
impl From<InputClass> for Option<u32>
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<InputClass> for Option<u8>
impl From<InputClass> for Option<u8>
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<InputClass> for u16
impl From<InputClass> for u16
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<InputClass> for u32
impl From<InputClass> for u32
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<InputClass> for u8
impl From<InputClass> for u8
source§fn from(input: InputClass) -> Self
fn from(input: InputClass) -> Self
Converts to this type from the input type.
source§impl From<u8> for InputClass
impl From<u8> for InputClass
source§impl Hash for InputClass
impl Hash for InputClass
source§impl Ord for InputClass
impl Ord for InputClass
source§fn cmp(&self, other: &InputClass) -> Ordering
fn cmp(&self, other: &InputClass) -> 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 InputClass
impl PartialEq for InputClass
source§fn eq(&self, other: &InputClass) -> bool
fn eq(&self, other: &InputClass) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InputClass
impl PartialOrd for InputClass
source§fn partial_cmp(&self, other: &InputClass) -> Option<Ordering>
fn partial_cmp(&self, other: &InputClass) -> 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 moresource§impl Serialize for InputClass
impl Serialize for InputClass
impl Copy for InputClass
impl Eq for InputClass
impl StructuralPartialEq for InputClass
Auto Trait Implementations§
impl Freeze for InputClass
impl RefUnwindSafe for InputClass
impl Send for InputClass
impl Sync for InputClass
impl Unpin for InputClass
impl UnwindSafe for InputClass
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