Function capture

Source
pub fn capture<Ret>(f: impl FnOnce() -> Ret) -> (Ret, FxHashMap<String, String>)
Expand description

(Experimental) Captures output.

This is not stable and may be removed in the future.