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