Struct emerald_runtime::mouse::Mouse
source · 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 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