pub trait MouseGrabExt {
// Required methods
fn grab(&self);
fn ungrab(&self);
fn is_grabbed(&self) -> bool;
}
Expand description
An extension for Window
to grab/ungrab the mouse.
Required Methods§
Sourcefn is_grabbed(&self) -> bool
fn is_grabbed(&self) -> bool
Returns whether the window is grabbing the mouse.