Function tetra::window::is_screen_saver_enabled[][src]

pub fn is_screen_saver_enabled(ctx: &Context) -> bool

Returns whether or not the user’s screen saver can be displayed while the game is running.