Function emplacable::box_pin

source ·
pub fn box_pin<T>(x: T) -> Pin<Box<T>>
where T: ?Sized,
Expand description

Like Box::pin, but T can be ?Sized.

You will need #![feature(unsized_fn_params)] to call this.