Struct libnotcurses_sys::ffi::timespec [−][src]
#[repr(C)]pub struct timespec { pub tv_sec: __time_t, pub tv_nsec: __syscall_slong_t, }
Expand description
POSIX.1b structure for a time value. This is like a `struct timeval’ but has nanoseconds instead of microseconds.
Fields
tv_sec: __time_t
Seconds.
tv_nsec: __syscall_slong_t
Nanoseconds.
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for timespec
impl UnwindSafe for timespec
Blanket Implementations
Mutably borrows from an owned value. Read more