Function ggez::mouse::set_grabbed [] [src]

pub fn set_grabbed(ctx: &mut Context, grabbed: bool)

Set whether or not the mouse is "grabbed", ie, confined to the window.