pub fn with_default<F, R>(clock: &Clock, enter: &mut Enter, f: F) -> Rwhere F: FnOnce(&mut Enter) -> R,
Set the default clock for the duration of the closure.
This function panics if there already is a default clock set.