Function winit::platform_impl::linux::min_timeout
source · fn min_timeout(a: Option<Duration>, b: Option<Duration>) -> Option<Duration>
Expand description
Returns the minimum Option<Duration>
, taking into account that None
equates to an infinite timeout, not a zero timeout (so can’t just use
Option::min
)