pub struct Raw {
pub id: u8,
}
Expand description
Raw axis.
Usually you can get input from mouse using three axes:
id = 0
for moves alongX
axis.id = 1
for moves alongY
axis.id = 2
for mouse wheel moves.
However, these id
s depend on hardware and may vary on different machines.
Fields
id: u8
Axis id.
Trait Implementations
impl Copy for Raw
impl StructuralPartialEq for Raw
Auto Trait Implementations
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.