pub fn set_hook(hook: fn()) -> bool
Install the process-wide progress hook. First installation wins; a later call is ignored and returns false. The hook must be cheap and must not re-enter geometry code.
false