pub fn rc_new_with<T>(emplacable: Emplacable<T, impl EmplacableFn<T>>) -> Rc<T>where
T: ?Sized,Expand description
Like Rc::new, but takes an Emplacer<T, _>
instead of T directly.
Runs the contained unsized-value-returning closure,
and returns the result emplaced into an Rc.