Searched defs:OnceLock (Results 1 – 8 of 8) sorted by relevance
103 pub struct OnceLock<T> { struct110 /// use std::sync::OnceLock; argument127 impl<T> OnceLock<T> { implementation524 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation526 unsafe impl<T: Send> Send for OnceLock<T> {} implementation529 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceLock<T> {} implementation531 impl<T: UnwindSafe> UnwindSafe for OnceLock<T> {} implementation534 impl<T> Default for OnceLock<T> { implementation553 impl<T: fmt::Debug> fmt::Debug for OnceLock<T> { implementation565 impl<T: Clone> Clone for OnceLock<T> { implementation[all …]
103 pub struct OnceLock<T> { struct110 /// use std::sync::OnceLock; argument127 impl<T> OnceLock<T> { argument524 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation526 unsafe impl<T: Send> Send for OnceLock<T> {} implementation529 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceLock<T> {} implementation531 impl<T: UnwindSafe> UnwindSafe for OnceLock<T> {} implementation534 impl<T> Default for OnceLock<T> { implementation553 impl<T: fmt::Debug> fmt::Debug for OnceLock<T> { implementation565 impl<T: Clone> Clone for OnceLock<T> { implementation[all …]
96 pub struct OnceLock<T> { struct103 /// use std::sync::OnceLock; argument120 impl<T> OnceLock<T> { impl517 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation519 unsafe impl<T: Send> Send for OnceLock<T> {} implementation522 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceLock<T> {} implementation524 impl<T: UnwindSafe> UnwindSafe for OnceLock<T> {} implementation527 impl<T> Default for OnceLock<T> { implementation546 impl<T: fmt::Debug> fmt::Debug for OnceLock<T> { implementation558 impl<T: Clone> Clone for OnceLock<T> { implementation[all …]
103 pub struct OnceLock<T> { struct110 /// use std::sync::OnceLock; argument127 impl<T> OnceLock<T> { impl524 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation526 unsafe impl<T: Send> Send for OnceLock<T> {} implementation529 impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceLock<T> {} implementation531 impl<T: UnwindSafe> UnwindSafe for OnceLock<T> {} implementation534 impl<T> Default for OnceLock<T> { implementation553 impl<T: fmt::Debug> fmt::Debug for OnceLock<T> { implementation565 impl<T: Clone> Clone for OnceLock<T> { implementation[all …]
9 pub(crate) struct OnceLock<T> { struct12 // Unlike std::sync::OnceLock, we don't need PhantomData here because argument16 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation17 unsafe impl<T: Send> Send for OnceLock<T> {} implementation19 impl<T> OnceLock<T> { implementation81 impl<T> Drop for OnceLock<T> { implementation
84 impl GetDebugFlags for OnceLock<Debug> { implementation