pub struct PointerScaling(/* private fields */);Expand description
A pointer-motion multiplier in 8.8 fixed point (0x0100 is 1×).
Zero is excluded: it is not a meaningful multiplier, so a zero on the wire
surfaces as Hidpp20Error::UnsupportedResponse.
Implementations§
Trait Implementations§
Source§impl Clone for PointerScaling
impl Clone for PointerScaling
impl Copy for PointerScaling
Source§impl Debug for PointerScaling
impl Debug for PointerScaling
impl Eq for PointerScaling
Source§impl Hash for PointerScaling
impl Hash for PointerScaling
Source§impl Ord for PointerScaling
impl Ord for PointerScaling
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PointerScaling
impl PartialEq for PointerScaling
Source§impl PartialOrd for PointerScaling
impl PartialOrd for PointerScaling
impl StructuralPartialEq for PointerScaling
Auto Trait Implementations§
impl Freeze for PointerScaling
impl RefUnwindSafe for PointerScaling
impl Send for PointerScaling
impl Sync for PointerScaling
impl Unpin for PointerScaling
impl UnsafeUnpin for PointerScaling
impl UnwindSafe for PointerScaling
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