Lines Matching defs:Self
217 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
227 pub fn new(contents: T, flags: Flags) -> Result<Self, AllocError> { in new()
251 unsafe fn from_inner(inner: NonNull<ArcInner<T>>) -> Self { in from_inner()
284 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw()
307 pub fn ptr_eq(this: &Self, other: &Self) -> bool { in ptr_eq()
382 unsafe fn from_foreign(ptr: *mut crate::ffi::c_void) -> Self { in from_foreign()
427 fn clone(&self) -> Self { in clone()
464 fn from(item: UniqueArc<T>) -> Self { in from()
470 fn from(item: Pin<UniqueArc<T>>) -> Self { in from()
547 fn clone(&self) -> Self { in clone()
562 unsafe fn new(inner: NonNull<ArcInner<T>>) -> Self { in new()
580 pub unsafe fn from_raw(ptr: *const T) -> Self { in from_raw()
593 fn from(b: ArcBorrow<'_, T>) -> Self { in from()
703 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init()
735 pub fn new(value: T, flags: Flags) -> Result<Self, AllocError> { in new()
810 fn from(obj: UniqueArc<T>) -> Self { in from()