pub unsafe fn run_borrowed<H: Store, T, F: FnOnce() -> T>(
store: &H,
task: F,
) -> TExpand description
Run a closure using a chosen global allocator, with a non 'static lifetime.
ยงSafety
Ensure that objects allocated with the provided store
do not escape the given closure.