Lines Matching refs:ArcBorrow
261 pub fn as_arc_borrow(&self) -> ArcBorrow<'_, T> { in as_arc_borrow()
265 unsafe { ArcBorrow::new(self.ptr) } in as_arc_borrow()
337 type Borrowed<'a> = ArcBorrow<'a, T>;
343 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow()
350 unsafe { ArcBorrow::new(inner) } in borrow()
478 pub struct ArcBorrow<'a, T: ?Sized + 'a> { struct
484 impl<T: ?Sized> core::ops::Receiver for ArcBorrow<'_, T> {} implementation
488 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<ArcBorrow<'_, U>> implementation
489 for ArcBorrow<'_, T>
493 impl<T: ?Sized> Clone for ArcBorrow<'_, T> { implementation
499 impl<T: ?Sized> Copy for ArcBorrow<'_, T> {} implementation
501 impl<T: ?Sized> ArcBorrow<'_, T> { implementation
539 impl<T: ?Sized> From<ArcBorrow<'_, T>> for Arc<T> {
540 fn from(b: ArcBorrow<'_, T>) -> Self { in from()
550 impl<T: ?Sized> Deref for ArcBorrow<'_, T> { implementation