pub type Timespec = __kernel_timespec;
Expand description
struct timespec
Aliased Type§
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 ==
.