Home
last modified time | relevance | path

Searched defs:OnceLock (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/crossbeam-utils/src/sync/
Donce_lock.rs10 pub(crate) struct OnceLock<T> { struct
15 // Unlike std::sync::OnceLock, we don't need PhantomData here because argument
19 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation
20 unsafe impl<T: Send> Send for OnceLock<T> {} implementation
22 impl<T> OnceLock<T> { implementation
96 impl<T> Drop for OnceLock<T> { implementation
/external/rust/crates/crossbeam-epoch/src/sync/
Donce_lock.rs10 pub(crate) struct OnceLock<T> { struct
15 // Unlike std::sync::OnceLock, we don't need PhantomData here because argument
19 unsafe impl<T: Sync + Send> Sync for OnceLock<T> {} implementation
20 unsafe impl<T: Send> Send for OnceLock<T> {} implementation
22 impl<T> OnceLock<T> { impl
96 impl<T> Drop for OnceLock<T> { implementation