Lines Matching defs:Instant
144 pub struct Instant { struct
149 impl Instant { argument
208 pub fn from_micros<T: Into<i64>>(micros: T) -> Instant { in from_micros()
214 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const()
219 pub fn from_millis<T: Into<i64>>(millis: T) -> Instant { in from_millis()
226 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const()
233 pub fn from_secs<T: Into<i64>>(secs: T) -> Instant { in from_secs()
275 impl fmt::Display for Instant { implementation
281 impl ops::Add<Duration> for Instant { implementation
284 fn add(self, rhs: Duration) -> Instant { in add()
289 impl ops::AddAssign<Duration> for Instant { implementation
295 impl ops::Sub<Duration> for Instant { implementation
298 fn sub(self, rhs: Duration) -> Instant { in sub()
303 impl ops::SubAssign<Duration> for Instant { implementation
309 impl ops::Sub<Instant> for Instant { implementation
480 impl From<smoltcp::time::Instant> for Instant { implementation
486 impl From<Instant> for smoltcp::time::Instant { implementation