Struct ggez::input::mouse::MouseContext [−][src]
pub struct MouseContext { /* fields omitted */ }
Expand description
Stores state information for the mouse.
Implementations
Resets the value returned by mouse::delta
to zero.
You shouldn’t need to call this, except when you’re running your own event loop.
In this case call it right at the end, after draw
and update
have finished.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MouseContext
impl Send for MouseContext
impl Sync for MouseContext
impl Unpin for MouseContext
impl UnwindSafe for MouseContext
Blanket Implementations
Mutably borrows from an owned value. Read more