Struct libc_interface::timeval [−][src]
#[repr(C)]pub struct timeval { pub tv_sec: time_t, pub tv_usec: suseconds_t, }
Fields
tv_sec: time_t
tv_usec: suseconds_t
Trait Implementations
impl Copy for timeval
[src]
impl Copy for timeval
impl Clone for timeval
[src]
impl Clone for timeval
fn clone(&self) -> timeval
[src]
fn clone(&self) -> timeval
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for timeval
[src]
impl PartialEq for timeval
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for timeval
[src]
impl Eq for timeval