Home
last modified time | relevance | path

Searched refs:AtomicLazyCell (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/lazycell/src/
Dlib.rs249 pub struct AtomicLazyCell<T> { struct
254 impl<T> AtomicLazyCell<T> { impl
262 pub fn new() -> AtomicLazyCell<T> { in new()
328 impl<T: Copy> AtomicLazyCell<T> { impl
341 impl<T> Default for AtomicLazyCell<T> { implementation
347 impl<T: Clone> Clone for AtomicLazyCell<T> { implementation
353 fn clone(&self) -> AtomicLazyCell<T> { in clone()
356 |v| AtomicLazyCell { in clone()
364 unsafe impl<T: Sync + Send> Sync for AtomicLazyCell<T> {} implementation
366 unsafe impl<T: Send> Send for AtomicLazyCell<T> {} implementation
[all …]
Dserde_impl.rs15 use super::{LazyCell, AtomicLazyCell};
27 impl<T: Serialize> Serialize for AtomicLazyCell<T> { implementation
64 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
/external/rust/crates/lazycell/
DCHANGELOG.md26 * 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…