Lines Matching refs:i64
43 pub tv_sec: i64,
44 pub tv_nsec: i64,
49 pub fn new(sec: i64, nsec: i64) -> TimeSpec { in new() argument
69 micros: i64,
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()
115 pub const fn millis(&self) -> i64 { in millis() argument
121 pub const fn micros(&self) -> i64 { in micros() argument
127 pub const fn secs(&self) -> i64 { in secs() argument
133 pub const fn total_millis(&self) -> i64 { in total_millis() argument
138 pub const fn total_micros(&self) -> i64 { in total_micros() argument
153 Instant::from_micros(self.micros + rhs.total_micros() as i64) in add()
159 self.micros += rhs.total_micros() as i64; in add_assign()
167 Instant::from_micros(self.micros - rhs.total_micros() as i64) in sub()
173 self.micros -= rhs.total_micros() as i64; in sub_assign()