Struct nc::types::timespec_t
source · #[repr(C)]pub struct timespec_t {
pub tv_sec: time_t,
pub tv_nsec: isize,
}
Fields§
§tv_sec: time_t
seconds
tv_nsec: isize
nanoseconds
Trait Implementations§
source§impl Clone for timespec_t
impl Clone for timespec_t
source§fn clone(&self) -> timespec_t
fn clone(&self) -> timespec_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for timespec_t
impl Debug for timespec_t
source§impl Default for timespec_t
impl Default for timespec_t
source§fn default() -> timespec_t
fn default() -> timespec_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for timespec_t
impl RefUnwindSafe for timespec_t
impl Send for timespec_t
impl Sync for timespec_t
impl Unpin for timespec_t
impl UnwindSafe for timespec_t
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