Struct rich_sdl2_rust::event::mouse::relative::RelativeMouse
source · pub struct RelativeMouse<'video> { /* private fields */ }
Expand description
It provides the relative mouse mode, which hiding and holding the cursor and be able to obtain relative motions from the mouse. Dropping this will come back to the normal mouse mode.
Implementations§
Trait Implementations§
source§impl Debug for RelativeMouse<'_>
impl Debug for RelativeMouse<'_>
Auto Trait Implementations§
impl<'video> !RefUnwindSafe for RelativeMouse<'video>
impl<'video> !Send for RelativeMouse<'video>
impl<'video> !Sync for RelativeMouse<'video>
impl<'video> Unpin for RelativeMouse<'video>
impl<'video> !UnwindSafe for RelativeMouse<'video>
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