Lines Matching defs:clone
219 /// Create a clone of this `LazyCell`
222 /// otherwise returns a `LazyCell` already initialized with a clone of the
224 fn clone(&self) -> LazyCell<T> {
225 LazyCell { inner: UnsafeCell::new(self.borrow().map(Clone::clone) ) }
329 /// Create a clone of this `AtomicLazyCell`
332 /// otherwise returns an `AtomicLazyCell` already initialized with a clone of the
334 fn clone(&self) -> AtomicLazyCell<T> {
338 inner: UnsafeCell::new(Some(v.clone())),
613 fn clone() {
615 let clone1 = cell.clone();
618 let mut clone2 = cell.clone();
634 let clone1 = cell.clone();
637 let mut clone2 = cell.clone();