Struct x11rb::protocol::xinput::InputClass
source · pub struct InputClass(u8);
Tuple Fields§
§0: u8
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§impl PartialOrd for InputClass
impl PartialOrd 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
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
)