Type Alias timeval

Source
pub type timeval = linux_timeval;

Aliased Type§

struct timeval {
    pub tv_sec: i64,
    pub tv_usec: i64,
}

Fields§

§tv_sec: i64§tv_usec: i64

Trait Implementations§

Source§

impl VirtualAddressSpaceIndependent for timeval

Source§

const IGNORE: () = ()

Used by the derive macro to validate that fields are Vasi.
Source§

impl Pod for timeval

Source§

impl Clone for linux_timeval

Source§

fn clone(&self) -> linux_timeval

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for linux_timeval

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for linux_timeval

Source§

fn eq(&self, other: &linux_timeval) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for linux_timeval

Source§

impl Eq for linux_timeval

Source§

impl StructuralPartialEq for linux_timeval