pub struct TimeSpec {
pub seconds: time_t,
pub nanos: i64,
}
Expand description
Return type for ClockGetTime
and ClockGetRes
; maps to
libc::timespec.
Fields§
§seconds: time_t
§nanos: i64
Auto Trait Implementations§
impl Freeze for TimeSpec
impl RefUnwindSafe for TimeSpec
impl Send for TimeSpec
impl Sync for TimeSpec
impl Unpin for TimeSpec
impl UnwindSafe for TimeSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more