[][src]Function wlroots::utils::current_time

pub fn current_time() -> Duration

Get the current time as a duration suitable for functions such as surface.send_frame_done().