Function set_global_clock

Source
pub fn set_global_clock(c: Rc<RefCell<dyn Clock>>)
Expand description

§Panics

Panics if thread-local storage cannot be accessed or the global clock is already set.