Home
last modified time | relevance | path

Searched defs:Duration (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dmod.rs158 fn add_assign(&mut self, rhs: Duration) { in add_assign()
172 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
180 fn sub(self, rhs: Instant) -> Duration { in sub()
188 pub struct Duration { struct
192 impl Duration { implementation
195 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
200 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
207 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
239 impl fmt::Display for Duration { implementation
245 impl ops::Add<Duration> for Duration { implementation
[all …]