pub enum AlsaPcmNameKind {
Default,
Hw,
PlugHw,
}Expand description
Supported ALSA PCM name family.
Distinguishes the three PCM naming forms this adapter accepts when parsing
device strings: the routed default device, raw hw:* hardware access, and
the format-converting plughw:* plugin layer.
Variants§
Default
The ALSA default PCM, a routed fallback device.
Hw
A raw hw:* device addressed by card or card,device.
PlugHw
A plughw:* device that adds automatic format and rate conversion.
Trait Implementations§
Source§impl Clone for AlsaPcmNameKind
impl Clone for AlsaPcmNameKind
Source§fn clone(&self) -> AlsaPcmNameKind
fn clone(&self) -> AlsaPcmNameKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AlsaPcmNameKind
Source§impl Debug for AlsaPcmNameKind
impl Debug for AlsaPcmNameKind
impl Eq for AlsaPcmNameKind
Source§impl PartialEq for AlsaPcmNameKind
impl PartialEq for AlsaPcmNameKind
Source§fn eq(&self, other: &AlsaPcmNameKind) -> bool
fn eq(&self, other: &AlsaPcmNameKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlsaPcmNameKind
Auto Trait Implementations§
impl Freeze for AlsaPcmNameKind
impl RefUnwindSafe for AlsaPcmNameKind
impl Send for AlsaPcmNameKind
impl Sync for AlsaPcmNameKind
impl Unpin for AlsaPcmNameKind
impl UnsafeUnpin for AlsaPcmNameKind
impl UnwindSafe for AlsaPcmNameKind
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