Function winput::message_loop::is_active [−][src]
pub fn is_active() -> bool
Checks if the message loop is currently active. When this function returns
true
, calling start
always produces an error.
Examples
ⓘ
let _ = winput::messgage_loop::start(); assert!(winput::message_loop::is_active());