Lines Matching refs:SharedPtr
14 pub struct SharedPtr<T> struct
22 impl<T> SharedPtr<T> implementation
30 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in null()
43 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in new()
72 pub fn downgrade(self: &SharedPtr<T>) -> WeakPtr<T> in downgrade()
86 unsafe impl<T> Send for SharedPtr<T> where T: Send + Sync + SharedPtrTarget {} implementation
87 unsafe impl<T> Sync for SharedPtr<T> where T: Send + Sync + SharedPtrTarget {} implementation
89 impl<T> Clone for SharedPtr<T> implementation
94 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in clone()
106 impl<T> Unpin for SharedPtr<T> where T: SharedPtrTarget {} implementation
108 impl<T> Drop for SharedPtr<T> implementation
118 impl<T> Deref for SharedPtr<T> implementation
135 impl<T> Debug for SharedPtr<T> implementation
147 impl<T> Display for SharedPtr<T> implementation