#[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 Freeze for snd_mixer_selem_regopt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)