Enum alsa::pcm::AudioTstampType
source · #[non_exhaustive]pub enum AudioTstampType {
Compat = 0,
Default = 1,
Link = 2,
LinkAbsolute = 3,
LinkEstimated = 4,
LinkSynchronized = 5,
}
Expand description
SND_PCM_AUDIO_TSTAMP_TYPE_xxx constants
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
source§impl AudioTstampType
impl AudioTstampType
sourcepub fn all() -> &'static [AudioTstampType]
pub fn all() -> &'static [AudioTstampType]
Returns a slice of all possible values; useful for iteration
Trait Implementations§
source§impl Clone for AudioTstampType
impl Clone for AudioTstampType
source§fn clone(&self) -> AudioTstampType
fn clone(&self) -> AudioTstampType
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 AudioTstampType
impl Debug for AudioTstampType
source§impl Hash for AudioTstampType
impl Hash for AudioTstampType
source§impl Ord for AudioTstampType
impl Ord for AudioTstampType
source§fn cmp(&self, other: &AudioTstampType) -> Ordering
fn cmp(&self, other: &AudioTstampType) -> 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 AudioTstampType
impl PartialEq for AudioTstampType
source§fn eq(&self, other: &AudioTstampType) -> bool
fn eq(&self, other: &AudioTstampType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AudioTstampType
impl PartialOrd for AudioTstampType
source§fn partial_cmp(&self, other: &AudioTstampType) -> Option<Ordering>
fn partial_cmp(&self, other: &AudioTstampType) -> 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 AudioTstampType
impl Eq for AudioTstampType
impl StructuralEq for AudioTstampType
impl StructuralPartialEq for AudioTstampType
Auto Trait Implementations§
impl RefUnwindSafe for AudioTstampType
impl Send for AudioTstampType
impl Sync for AudioTstampType
impl Unpin for AudioTstampType
impl UnwindSafe for AudioTstampType
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