Lines Matching defs:Self
165 pub fn try_new(contents: T) -> Result<Self, AllocError> { in try_new()
210 unsafe fn from_inner(inner: NonNull<ArcInner<T>>) -> Self { in from_inner()
234 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw()
273 pub fn ptr_eq(this: &Self, other: &Self) -> bool { in ptr_eq()
295 unsafe fn from_foreign(ptr: *const core::ffi::c_void) -> Self { in from_foreign()
320 fn clone(&self) -> Self { in clone()
353 fn from(item: UniqueArc<T>) -> Self { in from()
359 fn from(item: Pin<UniqueArc<T>>) -> Self { in from()
436 fn clone(&self) -> Self { in clone()
451 unsafe fn new(inner: NonNull<ArcInner<T>>) -> Self { in new()
461 fn from(b: ArcBorrow<'_, T>) -> Self { in from()
561 pub fn try_new(value: T) -> Result<Self, AllocError> { in try_new()
633 fn from(obj: UniqueArc<T>) -> Self { in from()