Home
last modified time | relevance | path

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

/third_party/rust/crates/lazycell/src/
Dlib.rs236 pub struct AtomicLazyCell<T> { struct
241 impl<T> AtomicLazyCell<T> { impl
249 pub fn new() -> AtomicLazyCell<T> { in new()
315 impl<T: Copy> AtomicLazyCell<T> { implementation
328 impl<T: Clone> Clone for AtomicLazyCell<T> { implementation
334 fn clone(&self) -> AtomicLazyCell<T> { in clone()
337 |v| AtomicLazyCell { in clone()
345 unsafe impl<T: Sync + Send> Sync for AtomicLazyCell<T> {} implementation
347 unsafe impl<T: Send> Send for AtomicLazyCell<T> {} implementation
351 use super::{AtomicLazyCell, LazyCell};
[all …]
/third_party/rust/crates/lazycell/
DCHANGELOG.md7 * 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…