Home
last modified time | relevance | path

Searched refs:next_elapse (Results 1 – 1 of 1) sorted by relevance

/DragonReach/src/unit/timer/
H A Dmod.rs265 val.next_elapse = Some(Instant::now() + val.val); in change_stage()
271 val.next_elapse = Some(Instant::now() + val.val); in change_stage()
388 if val.disabled || val.next_elapse == None { in update_next_trigger()
392 } else if val.next_elapse.unwrap() < self.now_time { in update_next_trigger()
393 self.next_elapse_monotonic_or_boottime = val.next_elapse; in update_next_trigger()
394 val.next_elapse = None; in update_next_trigger()
401 if val.next_elapse.unwrap() < self.now_time { in update_next_trigger()
402 self.next_elapse_monotonic_or_boottime = val.next_elapse; in update_next_trigger()
415 (|a, b| match (a.next_elapse, b.next_elapse) { in update_next_trigger()
421 if self.value.is_empty() || self.value[0].next_elapse == None { in update_next_trigger()
[all …]