Searched defs:OnceCell (Results 1 – 4 of 4) sorted by relevance
12 pub(crate) struct OnceCell<T> { struct19 // Thread A creates a `OnceCell` and shares it with argument23 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation24 unsafe impl<T: Send> Send for OnceCell<T> {} implementation26 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation27 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation29 impl<T> OnceCell<T> { impl
324 pub struct OnceCell<T> { struct330 // `&unsync::OnceCell` to sneak a `T` through `catch_unwind`,334 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation336 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation338 impl<T> Default for OnceCell<T> { implementation344 impl<T: fmt::Debug> fmt::Debug for OnceCell<T> { implementation353 impl<T: Clone> Clone for OnceCell<T> { implementation366 impl<T: PartialEq> PartialEq for OnceCell<T> { implementation372 impl<T: Eq> Eq for OnceCell<T> {} implementation374 impl<T> From<T> for OnceCell<T> { implementation[all …]
18 pub(crate) struct OnceCell<T> { struct27 // Thread A creates a `OnceCell` and shares it with argument31 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation32 unsafe impl<T: Send> Send for OnceCell<T> {} implementation34 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T> {} implementation35 impl<T: UnwindSafe> UnwindSafe for OnceCell<T> {} implementation63 impl<T> OnceCell<T> { implementation247 impl<T> OnceCell<T> { impl
35 pub struct OnceCell<T> { struct41 impl<T> Default for OnceCell<T> { implementation47 impl<T: fmt::Debug> fmt::Debug for OnceCell<T> { implementation55 impl<T: Clone> Clone for OnceCell<T> { implementation61 impl<T: PartialEq> PartialEq for OnceCell<T> { implementation67 impl<T: Eq> Eq for OnceCell<T> {} implementation69 impl<T> Drop for OnceCell<T> { implementation80 impl<T> OnceCell<T> { implementation349 unsafe impl<T: Sync + Send> Sync for OnceCell<T> {} implementation354 unsafe impl<T: Send> Send for OnceCell<T> {} implementation