Struct x11rb::protocol::xinput::InputClass
source · pub struct InputClass(/* private fields */);
Implementations§
source§impl InputClass
impl InputClass
pub const KEY: InputClass = _
pub const BUTTON: InputClass = _
pub const VALUATOR: InputClass = _
pub const FEEDBACK: InputClass = _
pub const PROXIMITY: InputClass = _
pub const FOCUS: InputClass = _
pub const OTHER: InputClass = _
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 From<u8> for InputClass
impl From<u8> for InputClass
source§fn from(value: u8) -> InputClass
fn from(value: u8) -> InputClass
Converts to this type from the input type.
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 moreimpl Copy for InputClass
impl Eq for InputClass
impl StructuralEq for InputClass
impl StructuralPartialEq for InputClass
Auto Trait Implementations§
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