Function pin_init::init_box[][src]

pub fn init_box<T, E, F>(
    x: Pin<Box<MaybeUninit<T>>>,
    f: F
) -> Result<Pin<Box<T>>, E> where
    F: for<'a> FnOnce(PinInit<'a, T>) -> PinInitResult<'a, T, E>, 
This is supported on crate feature alloc only.
Expand description

Pin-initialize a box.