Searched defs:OnceCell (Results 1 – 4 of 4) sorted by relevance
8 pub(crate) struct OnceCell<T> { struct10 // Use `unsync::OnceCell` internally since `Mutex` does not provide argument12 value: Mutex<unsync::OnceCell<T>>, argument20 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation21 unsafe impl<T: Send> Send for OnceCell<T> {} implementation23 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation24 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation26 impl<T> OnceCell<T> { impl
7 pub(crate) struct OnceCell<T> { struct17 // Thread A creates a `OnceCell` and shares it with argument21 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation22 unsafe impl<T: Send> Send for OnceCell<T> {} implementation24 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation25 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation27 impl<T> OnceCell<T> { impl
15 pub(crate) struct OnceCell<T> { struct30 // Thread A creates a `OnceCell` and shares it with argument34 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation35 unsafe impl<T: Send> Send for OnceCell<T> {} implementation37 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation38 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation40 impl<T> OnceCell<T> { implementation307 impl<T> OnceCell<T> { impl
384 pub struct OnceCell<T> { struct390 // `&unsync::OnceCell` to sneak a `T` through `catch_unwind`,393 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation394 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation396 impl<T> Default for OnceCell<T> { implementation402 impl<T: fmt::Debug> fmt::Debug for OnceCell<T> { implementation411 impl<T: Clone> Clone for OnceCell<T> { implementation427 impl<T: PartialEq> PartialEq for OnceCell<T> { implementation433 impl<T: Eq> Eq for OnceCell<T> {} implementation435 impl<T> From<T> for OnceCell<T> { implementation[all …]