Function ggez::timer::sleep [] [src]

pub fn sleep(duration: Duration)

Pauses the current thread for the target duration. Just calls std::thread::sleep() so it's as accurate as that is.