unsafe fn allocate_for_ptr(ptr: *const T) -> *mut ArcInner<T> {
        // Allocate for the `ArcInner<T>` using the given value.
        unsafe {
            Self::allocate_for_layout(Layout::for_value(&*ptr), |mem| {
                set_data_ptr(ptr as *mut T, mem) as *mut ArcInner<T>
            })
        }
    }
/// Allocates an `ArcInner<T>` with sufficient space for an unsized inner value.
Allocates an `ArcInner` with sufficient space for an unsized inner value.
Allocates an ` ArcInner ` with sufficient space for an unsized inner value .
unsafe fn allocate_for_ptr(ptr: *const T) -> *mut ArcInner<T> {
        // Allocate for the `ArcInner<T>` using the given value.
        unsafe {
            Self::allocate_for_layout(Layout::for_value(&*ptr), |mem| {
                set_data_ptr(ptr as *mut T, mem) as *mut ArcInner<T>
            })
        }
    }
unsafe fn allocate_for_ptr ( ptr : * const T ) -> * mut ArcInner < T > { // Allocate for the `ArcInner<T>` using the given value. unsafe { Self :: allocate_for_layout ( Layout :: for_value ( & * ptr ) , | mem | { set_data_ptr ( ptr as * mut T , mem ) as * mut ArcInner < T > } ) } }
Allocates an `ArcInner<T>` with sufficient space for an unsized inner value.
Allocates an ` ArcInner<T > ` with sufficient space for an unsized inner value .
ptr
*const T
ptr
*const T