()
| 49 | /// Returns `true` if Clutter has been initialized and this is the main thread. |
| 50 | #[inline] |
| 51 | pub fn is_initialized_main_thread() -> bool { |
| 52 | skip_assert_initialized!(); |
| 53 | IS_MAIN_THREAD.with(|c| c.get()) |
| 54 | } |
| 55 | |
| 56 | /// Informs this crate that Clutter has been initialized and the current thread is the main one. |
| 57 | pub unsafe fn set_initialized() { |
no test coverage detected