Struct alsa_sys::snd_mixer_selem_regopt
source · #[repr(C)]pub struct snd_mixer_selem_regopt {
pub ver: c_int,
pub abstract_: snd_mixer_selem_regopt_abstract,
pub device: *const c_char,
pub playback_pcm: *mut snd_pcm_t,
pub capture_pcm: *mut snd_pcm_t,
}
Expand description
Mixer simple element - register options
Fields§
§ver: c_int
structure version
abstract_: snd_mixer_selem_regopt_abstract
v1: abstract layer selection
device: *const c_char
v1: device name (must be NULL when playback_pcm or capture_pcm != NULL)
playback_pcm: *mut snd_pcm_t
v1: playback PCM connected to mixer device (NULL == none)
capture_pcm: *mut snd_pcm_t
v1: capture PCM connected to mixer device (NULL == none)
Trait Implementations§
source§impl Clone for snd_mixer_selem_regopt
impl Clone for snd_mixer_selem_regopt
source§fn clone(&self) -> snd_mixer_selem_regopt
fn clone(&self) -> snd_mixer_selem_regopt
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 snd_mixer_selem_regopt
impl Debug for snd_mixer_selem_regopt
impl Copy for snd_mixer_selem_regopt
Auto Trait Implementations§
impl RefUnwindSafe for snd_mixer_selem_regopt
impl !Send for snd_mixer_selem_regopt
impl !Sync for snd_mixer_selem_regopt
impl Unpin for snd_mixer_selem_regopt
impl UnwindSafe for snd_mixer_selem_regopt
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