pub fn event_time_or_now(event_time: Option<i64>) -> MonotonicInstant
Expand description
Returns the event time if it exists, otherwise returns the current time.
ยงParameters
event_time
: The event time from an InputReport.
pub fn event_time_or_now(event_time: Option<i64>) -> MonotonicInstant
Returns the event time if it exists, otherwise returns the current time.
event_time
: The event time from an InputReport.