Searched defs:OnceLock (Results 1 – 2 of 2) sorted by relevance
10 pub(crate) struct OnceLock<T> { struct15 // Unlike std::sync::OnceLock, we don't need PhantomData here because argument19 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation20 unsafe impl<T: Send> Send for OnceLock<T> {} implementation22 impl<T> OnceLock<T> { implementation96 impl<T> Drop for OnceLock<T> { implementation