#[repr(C)]pub(crate) struct timespec {
pub tv_sec: i64,
pub tv_nsec: i64,
}
Fields§
§tv_sec: i64
§tv_nsec: i64
Trait Implementations§
source§impl Clone for __kernel_timespec
impl Clone for __kernel_timespec
source§fn clone(&self) -> __kernel_timespec
fn clone(&self) -> __kernel_timespec
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 __kernel_timespec
impl Debug for __kernel_timespec
source§impl PartialEq for __kernel_timespec
impl PartialEq for __kernel_timespec
source§fn eq(&self, other: &__kernel_timespec) -> bool
fn eq(&self, other: &__kernel_timespec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for __kernel_timespec
impl Eq for __kernel_timespec
Auto Trait Implementations§
impl Freeze for __kernel_timespec
impl RefUnwindSafe for __kernel_timespec
impl Send for __kernel_timespec
impl Sync for __kernel_timespec
impl Unpin for __kernel_timespec
impl UnwindSafe for __kernel_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