Lines Matching defs:Instant
68 pub struct Instant { struct
73 impl Instant { argument
77 pub fn from_micros<T: Into<i64>>(micros: T) -> Instant { in from_micros()
83 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const()
88 pub fn from_millis<T: Into<i64>>(millis: T) -> Instant { in from_millis()
95 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const()
102 pub fn from_secs<T: Into<i64>>(secs: T) -> Instant { in from_secs()
143 impl fmt::Display for Instant { implementation
149 impl ops::Add<Duration> for Instant { implementation
152 fn add(self, rhs: Duration) -> Instant { in add()
157 impl ops::AddAssign<Duration> for Instant { implementation
163 impl ops::Sub<Duration> for Instant { implementation
166 fn sub(self, rhs: Duration) -> Instant { in sub()
171 impl ops::SubAssign<Duration> for Instant { implementation
177 impl ops::Sub<Instant> for Instant { implementation
349 impl From<smoltcp::time::Instant> for Instant { implementation
355 impl Into<smoltcp::time::Instant> for Instant { implementation
356 fn into(self) -> smoltcp::time::Instant { in into()