Searched refs:ArcInner (Results 1 – 2 of 2) sorted by relevance
129 ptr: NonNull<ArcInner<T>>,130 _p: PhantomData<ArcInner<T>>,135 struct ArcInner<T: ?Sized> { struct167 let value = ArcInner { in try_new()210 unsafe fn from_inner(inner: NonNull<ArcInner<T>>) -> Self { in from_inner()246 let inner = NonNull::new(ptr as *mut ArcInner<T>).unwrap(); in borrow()379 inner: NonNull<ArcInner<T>>,409 unsafe fn new(inner: NonNull<ArcInner<T>>) -> Self { in new()529 let inner = Box::try_init::<AllocError>(try_init!(ArcInner { in try_new_uninit()
8 use crate::sync::{arc::ArcInner, Arc};20 let ptr = self.ptr.cast::<ArcInner<T>>(); in downcast()