/// Check whether an interval has elapsed since this start time.
Check whether an interval has elapsed since this start time.
Check whether an interval has elapsed since this start time .
pub fn has_elapsed(&self, now: &T, interval: Milliseconds) -> bool {
        if let Some(start_time) = self.0 {
            let elapse_time = start_time + interval;
            elapse_time <= *now
        } else {
            false
        }
    }
pub fn has_elapsed ( & self , now : & T , interval : Milliseconds ) -> bool { if let Some ( start_time ) = self . 0 { let elapse_time = start_time + interval ; elapse_time <= * now } else { false } }
Check whether an interval has elapsed since this start time.
Check whether an interval has elapsed since this start time .
&self
now
&T
interval
Milliseconds