pub struct MousePointerFeature { /* private fields */ }Expand description
Implements the MousePointer / 0x2200 feature.
Implementations§
Source§impl MousePointerFeature
impl MousePointerFeature
Sourcepub async fn get_mouse_pointer_info(
&self,
) -> Result<MousePointerInfo, Hidpp20Error>
pub async fn get_mouse_pointer_info( &self, ) -> Result<MousePointerInfo, Hidpp20Error>
Retrieves the sensor resolution and pointer-tuning hints of the mouse.
Trait Implementations§
Source§impl Clone for MousePointerFeature
impl Clone for MousePointerFeature
Source§fn clone(&self) -> MousePointerFeature
fn clone(&self) -> MousePointerFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CreatableFeature for MousePointerFeature
impl CreatableFeature for MousePointerFeature
Source§const STARTING_VERSION: u8 = 0
const STARTING_VERSION: u8 = 0
The version of the feature the implementation starts to support.
impl Feature for MousePointerFeature
Auto Trait Implementations§
impl !RefUnwindSafe for MousePointerFeature
impl !UnwindSafe for MousePointerFeature
impl Freeze for MousePointerFeature
impl Send for MousePointerFeature
impl Sync for MousePointerFeature
impl Unpin for MousePointerFeature
impl UnsafeUnpin for MousePointerFeature
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