Function emplacable::rc_pin

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

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

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