Searched refs:AtomicLazyCell (Results 1 – 2 of 2) sorted by relevance
236 pub struct AtomicLazyCell<T> { struct241 impl<T> AtomicLazyCell<T> { impl249 pub fn new() -> AtomicLazyCell<T> { in new()315 impl<T: Copy> AtomicLazyCell<T> { implementation328 impl<T: Clone> Clone for AtomicLazyCell<T> { implementation334 fn clone(&self) -> AtomicLazyCell<T> { in clone()337 |v| AtomicLazyCell { in clone()345 unsafe impl<T: Sync + Send> Sync for AtomicLazyCell<T> {} implementation347 unsafe impl<T: Send> Send for AtomicLazyCell<T> {} implementation351 use super::{AtomicLazyCell, LazyCell};[all …]
7 * Implement Clone for LazyCell and AtomicLazyCell ([30fe4a8f](https://github.com/indiv0/lazycell/…32 * add NONE constant for an empty AtomicLazyCell ([31aff0da](https://github.com/indiv0/lazycell/co…63 * add `T: Send` for `AtomicLazyCell` `Sync` impl ([668bb2fa](https://github.com/indiv0/lazycell/c…67 * add `T: Send` for `AtomicLazyCell` `Sync` impl ([668bb2fa](https://github.com/indiv0/lazycell/c…119 * add AtomicLazyCell which is thread-safe ([85afbd36](https://github.com/indiv0/lazycell/commit/8…