Trait pin_init::PtrInit[][src]

pub trait PtrInit<T>: Deref<Target = T> + Sized {
    type Uninit: Deref<Target = MaybeUninit<T>>;
    fn init<E, I>(uninit: Pin<Self::Uninit>, init: I) -> Result<Pin<Self>, E>
    where
        I: Init<T, E>
; }
Expand description

Pointer types that can be pin-initialized.

Associated Types

Required methods

Implementations on Foreign Types

Implementors

Pin-initialize a UniqueArc.