pub enum MouseOffset {
X,
Y,
Z,
BUTTONS0,
BUTTONS1,
BUTTONS2,
BUTTONS3,
BUTTONS4,
BUTTONS5,
BUTTONS6,
BUTTONS7,
}
Variants
X
Y
Z
BUTTONS0
BUTTONS1
BUTTONS2
BUTTONS3
BUTTONS4
BUTTONS5
BUTTONS6
BUTTONS7
Implementations
sourceimpl MouseOffset
impl MouseOffset
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<MouseOffset>
Trait Implementations
sourceimpl Clone for MouseOffset
impl Clone for MouseOffset
sourcefn clone(&self) -> MouseOffset
fn clone(&self) -> MouseOffset
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MouseOffset
impl Debug for MouseOffset
sourceimpl Hash for MouseOffset
impl Hash for MouseOffset
sourceimpl Ord for MouseOffset
impl Ord for MouseOffset
sourcefn cmp(&self, other: &MouseOffset) -> Ordering
fn cmp(&self, other: &MouseOffset) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MouseOffset> for MouseOffset
impl PartialEq<MouseOffset> for MouseOffset
sourcefn eq(&self, other: &MouseOffset) -> bool
fn eq(&self, other: &MouseOffset) -> bool
sourceimpl PartialOrd<MouseOffset> for MouseOffset
impl PartialOrd<MouseOffset> for MouseOffset
sourcefn partial_cmp(&self, other: &MouseOffset) -> Option<Ordering>
fn partial_cmp(&self, other: &MouseOffset) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl TryFrom<i32> for MouseOffset
impl TryFrom<i32> for MouseOffset
impl Copy for MouseOffset
impl Eq for MouseOffset
impl StructuralEq for MouseOffset
impl StructuralPartialEq for MouseOffset
Auto Trait Implementations
impl RefUnwindSafe for MouseOffset
impl Send for MouseOffset
impl Sync for MouseOffset
impl Unpin for MouseOffset
impl UnwindSafe for MouseOffset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more