Searched refs:secs (Results 1 – 1 of 1) sorted by relevance
102 pub fn from_secs<T: Into<i64>>(secs: T) -> Instant { in from_secs()104 micros: secs.into() * 1000000, in from_secs()127 pub const fn secs(&self) -> i64 { in secs() method145 write!(f, "{}.{:0>3}s", self.secs(), self.millis()) in fmt()207 pub const fn from_secs(secs: u64) -> Duration { in from_secs()209 micros: secs * 1000000, in from_secs()224 pub const fn secs(&self) -> u64 { in secs() method241 write!(f, "{}.{:03}s", self.secs(), self.millis()) in fmt()