Struct hermit_abi::timespec
source · #[repr(C)]pub struct timespec {
pub tv_sec: i64,
pub tv_nsec: i64,
}
Expand description
timespec
is used by clock_gettime
to retrieve the
current time
Fields§
§tv_sec: i64
seconds
tv_nsec: i64
nanoseconds
Trait Implementations§
Auto Trait Implementations§
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