Enum xcb::xinput::ValuatorMode
source · #[repr(u32)]pub enum ValuatorMode {
Relative = 0,
Absolute = 1,
}
Variants§
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 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§impl PartialOrd for ValuatorMode
impl PartialOrd for ValuatorMode
impl Copy for ValuatorMode
impl Eq for ValuatorMode
impl StructuralPartialEq for ValuatorMode
Auto Trait Implementations§
impl Freeze for ValuatorMode
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
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
)