Struct time::Timespec
[-] [+]
[src]
pub struct Timespec { pub sec: i64, pub nsec: i32, }
A record specifying a time value in seconds and nanoseconds.
Fields
sec | |
nsec |
pub struct Timespec { pub sec: i64, pub nsec: i32, }
A record specifying a time value in seconds and nanoseconds.
sec | |
nsec |
impl Timespec
impl Add<Duration> for Timespec
impl Sub<Duration> for Timespec
impl Sub<Timespec> for Timespec
impl Debug for Timespec
impl Ord for Timespec
impl PartialOrd for Timespec
fn partial_cmp(&self, __arg_0: &Timespec) -> Option<Ordering>
fn lt(&self, __arg_0: &Timespec) -> bool
fn le(&self, __arg_0: &Timespec) -> bool
fn gt(&self, __arg_0: &Timespec) -> bool
fn ge(&self, __arg_0: &Timespec) -> bool
impl Eq for Timespec
fn assert_receiver_is_total_eq(&self)
impl PartialEq for Timespec
impl Clone for Timespec
fn clone(&self) -> Timespec
fn clone_from(&mut self, source: &Self)
impl Copy for Timespec
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).