[][src]Function tetra::window::set_mouse_visible

pub fn set_mouse_visible(ctx: &mut Context) -> Result

Sets whether or not the mouse cursor should be visible.

Errors

  • TetraError::PlatformError will be returned if the cursor state was inaccessible.