Crate crankit_time

Crate crankit_time 

Source
Expand description

An ergonomic time API for the playdate

The traits ElapsedTime and AbsoluteTime describe the available API.

§Feature flags

  • playdate-sys-v02 (default): provides implementations of the traits for the type ffi::playdate_sys and ffi::PlaydateAPI of the crate playdate-sys (version 0.2)

Traits§

AbsoluteTime
System capable of returning the absolute current time
ElapsedTime
System capable of tracking elapsed time since last reset