Lines Matching refs:ArcBorrow
223 pub fn as_arc_borrow(&self) -> ArcBorrow<'_, T> { in as_arc_borrow()
227 unsafe { ArcBorrow::new(self.ptr) } in as_arc_borrow()
237 type Borrowed<'a> = ArcBorrow<'a, T>;
243 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow()
250 unsafe { ArcBorrow::new(inner) } in borrow()
378 pub struct ArcBorrow<'a, T: ?Sized + 'a> { struct
384 impl<T: ?Sized> core::ops::Receiver for ArcBorrow<'_, T> {} implementation
388 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<ArcBorrow<'_, U>> implementation
389 for ArcBorrow<'_, T>
393 impl<T: ?Sized> Clone for ArcBorrow<'_, T> { implementation
399 impl<T: ?Sized> Copy for ArcBorrow<'_, T> {} implementation
401 impl<T: ?Sized> ArcBorrow<'_, T> { impl
418 impl<T: ?Sized> From<ArcBorrow<'_, T>> for Arc<T> {
419 fn from(b: ArcBorrow<'_, T>) -> Self { in from()
429 impl<T: ?Sized> Deref for ArcBorrow<'_, T> { implementation