pub struct Mouse { /* private fields */ }
Implementations§
Source§impl Mouse
impl Mouse
pub fn new() -> Self
pub fn get_event(&mut self) -> Option<MouseEvent>
pub fn iter_events(&mut self) -> impl Iterator<Item = MouseEvent> + '_
pub fn wait_for_events(&mut self) -> MouseEvent
Auto Trait Implementations§
impl Freeze for Mouse
impl RefUnwindSafe for Mouse
impl Send for Mouse
impl Sync for Mouse
impl Unpin for Mouse
impl UnwindSafe for Mouse
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