#[repr(C)]pub struct snd_pcm_info {Show 13 fields
pub device: uint,
pub subdevice: uint,
pub stream: int,
pub card: int,
pub id: [uchar; 64],
pub name: [uchar; 80],
pub subname: [uchar; 32],
pub dev_class: int,
pub dev_subclass: int,
pub subdevices_count: uint,
pub subdevices_avail: uint,
pub pad1: [uchar; 16],
pub reserved: [uchar; 64],
}Fields§
§device: uintDevice number. Usually read only, but writable for control.
subdevice: uintSubdevice number. Usually read only, but writable for control.
stream: intStream direction. Usually read only, but writable for control.
card: intCard number. Read-only.
id: [uchar; 64]User-selectable ID.
name: [uchar; 80]Name of this device.
subname: [uchar; 32]Subdevice name.
dev_class: intDevice class, using SNDRV_PCM_CLASS_* constants.
dev_subclass: intDevice subclass, using SNDRV_PCM_SUBCLASS_* constants.
subdevices_count: uint§subdevices_avail: uint§pad1: [uchar; 16]Formerly the hardware synchronization id, but no longer used.
reserved: [uchar; 64]Trait Implementations§
Source§impl Clone for snd_pcm_info
impl Clone for snd_pcm_info
Source§fn clone(&self) -> snd_pcm_info
fn clone(&self) -> snd_pcm_info
Returns a duplicate 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_pcm_info
impl Debug for snd_pcm_info
impl Copy for snd_pcm_info
Auto Trait Implementations§
impl Freeze for snd_pcm_info
impl RefUnwindSafe for snd_pcm_info
impl Send for snd_pcm_info
impl Sync for snd_pcm_info
impl Unpin for snd_pcm_info
impl UnwindSafe for snd_pcm_info
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