Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/time/
Dmod.rs102 impl From<TimeSpec> for Duration { implementation
209 fn add_assign(&mut self, rhs: Duration) { in add_assign()
223 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
231 fn sub(self, rhs: Instant) -> Duration { in sub()
239 pub struct Duration { struct
243 impl Duration { impl
246 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
251 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
258 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
290 impl fmt::Display for Duration { implementation
[all …]