Lines Matching defs:Instant
5 pub struct Instant(Duration); struct
7 impl Ord for Instant { implementation
13 impl Eq for Instant {} implementation
15 impl Instant { implementation
39 pub fn checked_add(&self, duration: Duration) -> Option<Instant> { in checked_add()
47 pub fn checked_sub(&self, duration: Duration) -> Option<Instant> { in checked_sub()
52 impl Add<Duration> for Instant { implementation
61 impl AddAssign<Duration> for Instant { implementation
68 impl Sub<Duration> for Instant { implementation
77 impl Sub<Instant> for Instant { implementation
86 impl SubAssign<Duration> for Instant { implementation