Function tetra::window::set_mouse_visible [−][src]
pub fn set_mouse_visible(ctx: &mut Context, visible: bool) -> Result
Sets whether or not the mouse cursor should be visible.
Errors
TetraError::PlatformError
will be returned if the cursor state was inaccessible.