Enum alsa::pcm::TstampType
source · pub enum TstampType {
Gettimeofday = 0,
Monotonic = 1,
MonotonicRaw = 2,
}
Expand description
SND_PCM_TSTAMP_TYPE_xxx constants
Variants§
Implementations§
source§impl TstampType
impl TstampType
sourcepub fn all() -> &'static [TstampType]
pub fn all() -> &'static [TstampType]
Returns a slice of all possible values; useful for iteration
Trait Implementations§
source§impl Clone for TstampType
impl Clone for TstampType
source§fn clone(&self) -> TstampType
fn clone(&self) -> TstampType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TstampType
impl Debug for TstampType
source§impl Hash for TstampType
impl Hash for TstampType
source§impl Ord for TstampType
impl Ord for TstampType
source§fn cmp(&self, other: &TstampType) -> Ordering
fn cmp(&self, other: &TstampType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TstampType
impl PartialEq for TstampType
source§fn eq(&self, other: &TstampType) -> bool
fn eq(&self, other: &TstampType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TstampType
impl PartialOrd for TstampType
source§fn partial_cmp(&self, other: &TstampType) -> Option<Ordering>
fn partial_cmp(&self, other: &TstampType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TstampType
impl Eq for TstampType
impl StructuralEq for TstampType
impl StructuralPartialEq for TstampType
Auto Trait Implementations§
impl RefUnwindSafe for TstampType
impl Send for TstampType
impl Sync for TstampType
impl Unpin for TstampType
impl UnwindSafe for TstampType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more