MCPcopy Create free account
hub / github.com/angular-rust/ux-components / is_initialized_main_thread

Function is_initialized_main_thread

src/rendering/backend/native/rt.rs:51–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49/// Returns `true` if Clutter has been initialized and this is the main thread.
50#[inline]
51pub 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.
57pub unsafe fn set_initialized() {

Callers 1

set_initializedFunction · 0.85

Calls 2

withMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected