[][src]Function libremexre::catch

pub fn catch<F: FnOnce() -> T, T>(func: F) -> T

Runs the given closure immediately. Mostly for use as replacement for catch blocks, which seem to be taking a while to stabilize...