Searched refs:AtomicLazyCell (Results 1 – 3 of 3) sorted by relevance
249 pub struct AtomicLazyCell<T> { struct254 impl<T> AtomicLazyCell<T> { impl262 pub fn new() -> AtomicLazyCell<T> { in new()328 impl<T: Copy> AtomicLazyCell<T> { impl341 impl<T> Default for AtomicLazyCell<T> { implementation347 impl<T: Clone> Clone for AtomicLazyCell<T> { implementation353 fn clone(&self) -> AtomicLazyCell<T> { in clone()356 |v| AtomicLazyCell { in clone()364 unsafe impl<T: Sync + Send> Sync for AtomicLazyCell<T> {} implementation366 unsafe impl<T: Send> Send for AtomicLazyCell<T> {} implementation[all …]
15 use super::{LazyCell, AtomicLazyCell};27 impl<T: Serialize> Serialize for AtomicLazyCell<T> { implementation64 type Value = AtomicLazyCell<T>;71 let mut cell = AtomicLazyCell::new(); in visit_some()77 Ok(AtomicLazyCell::new()) in visit_none()82 impl<'de, T: Deserialize<'de>> Deserialize<'de> for AtomicLazyCell<T> { implementation
26 * Implement Clone for LazyCell and AtomicLazyCell ([30fe4a8f](https://github.com/indiv0/lazycell/…51 * add NONE constant for an empty AtomicLazyCell ([31aff0da](https://github.com/indiv0/lazycell/co…82 * add `T: Send` for `AtomicLazyCell` `Sync` impl ([668bb2fa](https://github.com/indiv0/lazycell/c…86 * add `T: Send` for `AtomicLazyCell` `Sync` impl ([668bb2fa](https://github.com/indiv0/lazycell/c…138 * add AtomicLazyCell which is thread-safe ([85afbd36](https://github.com/indiv0/lazycell/commit/8…