alsa_sys

Type Alias snd_htimestamp_t

Source
pub type snd_htimestamp_t = timespec;
Expand description

Hi-res timestamp

Aliased Type§

struct snd_htimestamp_t {
    pub tv_sec: i64,
    pub tv_nsec: i64,
}

Fields§

§tv_sec: i64§tv_nsec: i64

Trait Implementations

Source§

impl Clone for timespec

Source§

fn clone(&self) -> timespec

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 timespec

Source§

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

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

impl Hash for timespec

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 timespec

Source§

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

Source§

impl Eq for timespec

Source§

impl StructuralPartialEq for timespec