Home
last modified time | relevance | path

Searched defs:OnceState (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/rust/library/std/src/sys/unsupported/
Donce.rs9 pub struct OnceState { struct
10 poisoned: bool,
11 set_state_to: Cell<State>,
60 pub fn call(&self, ignore_poisoning: bool, f: &mut impl FnMut(&public::OnceState)) { in call()
90 impl OnceState { impl
/third_party/rust/rust/library/std/src/sys_common/once/
Dfutex.rs32 pub struct OnceState { struct
37 impl OnceState { implementation
97 pub fn call(&self, ignore_poisoning: bool, f: &mut impl FnMut(&public::OnceState)) { in call()
Dqueue.rs72 pub struct OnceState { struct
73 poisoned: bool,
74 set_state_on_drop_to: Cell<*mut Masked>,
148 pub fn call(&self, ignore_poisoning: bool, init: &mut dyn FnMut(&public::OnceState)) { in call()
284 impl OnceState { implementation
/third_party/rust/rust/library/std/src/sync/
Donce.rs42 pub struct OnceState { struct
43 pub(crate) inner: sys::OnceState, argument
200 F: FnOnce(&OnceState), in call_once_force()
276 impl OnceState { implementation
326 impl fmt::Debug for OnceState { implementation