alsa_sys

Type Alias snd_timestamp_t

Source
pub type snd_timestamp_t = timeval;
Expand description

Timestamp

Aliased Type§

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

Fields§

§tv_sec: i64§tv_usec: i64

Trait Implementations

Source§

impl Clone for timeval

Source§

fn clone(&self) -> 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 timeval

Source§

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

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

impl Hash for timeval

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for timeval

Source§

fn eq(&self, other: &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 timeval

Source§

impl Eq for timeval

Source§

impl StructuralPartialEq for timeval