Searched refs:advance (Results 1 – 3 of 3) sorted by relevance
32 pub fn advance(&self, duration: Duration) { in advance() method58 pub fn advance(&self, duration: Duration) { in advance() method168 clock.advance(delay) in main()170 None => clock.advance(Duration::from_millis(1)), in main()
29 pub fn advance(&self, duration: Duration) { in advance() method211 Some(delay) => clock.advance(delay),212 None => clock.advance(Duration::from_millis(1)),
40 fn advance(&mut self) -> Result<u8> { in advance() method82 if self.advance()? == chr { in accept_char()97 let digit = self.advance()?; in accept_digit()