Lines Matching refs:Arc
4 use alloc::{boxed::Box, sync::Arc};
9 use std::sync::Arc;
100 impl<T> InPlaceInit<T> for Arc<T> {
106 let mut this = try_new_uninit!(Arc);
107 let Some(slot) = Arc::get_mut(&mut this) else {
108 // SAFETY: the Arc has just been created and has no external references
115 // SAFETY: All fields have been initialized and this is the only `Arc` to that data.
124 let mut this = try_new_uninit!(Arc);
125 let Some(slot) = Arc::get_mut(&mut this) else {
126 // SAFETY: the Arc has just been created and has no external references