Function run

Source
pub fn run<T>(closure: impl FnOnce() -> T) -> T
Expand description

Calls the specified closure and returns its result.