Home
last modified time | relevance | path

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

/external/rust/crates/once_cell/src/
Dimp_pl.rs12 pub(crate) struct OnceCell<T> { struct
19 // Thread A creates a `OnceCell` and shares it with argument
23 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation
24 unsafe impl<T: Send> Send for OnceCell<T> {} implementation
26 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation
27 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation
29 impl<T> OnceCell<T> { impl
Dlib.rs324 pub struct OnceCell<T> { struct
330 // `&unsync::OnceCell` to sneak a `T` through `catch_unwind`,
334 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation
336 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation
338 impl<T> Default for OnceCell<T> { implementation
344 impl<T: fmt::Debug> fmt::Debug for OnceCell<T> { implementation
353 impl<T: Clone> Clone for OnceCell<T> { implementation
366 impl<T: PartialEq> PartialEq for OnceCell<T> { implementation
372 impl<T: Eq> Eq for OnceCell<T> {} implementation
374 impl<T> From<T> for OnceCell<T> { implementation
[all …]
Dimp_std.rs18 pub(crate) struct OnceCell<T> { struct
27 // Thread A creates a `OnceCell` and shares it with argument
31 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation
32 unsafe impl<T: Send> Send for OnceCell<T> {} implementation
34 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation
35 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation
63 impl<T> OnceCell<T> { implementation
247 impl<T> OnceCell<T> { impl
/external/rust/crates/tokio/src/sync/
Donce_cell.rs35 pub struct OnceCell<T> { struct
41 impl<T> Default for OnceCell<T> { implementation
47 impl<T: fmt::Debug> fmt::Debug for OnceCell<T> { implementation
55 impl<T: Clone> Clone for OnceCell<T> { implementation
61 impl<T: PartialEq> PartialEq for OnceCell<T> { implementation
67 impl<T: Eq> Eq for OnceCell<T> {} implementation
69 impl<T> Drop for OnceCell<T> { implementation
80 impl<T> OnceCell<T> { implementation
349 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation
354 unsafe impl<T: Send> Send for OnceCell<T> {} implementation