pub struct Info(/* private fields */);
Expand description
snd_pcm_info_t wrapper - PCM generic info container
Implementations§
Source§impl Info
impl Info
pub fn new() -> Result<Info>
pub fn get_card(&self) -> i32
pub fn get_device(&self) -> u32
pub fn get_subdevice(&self) -> u32
pub fn get_id(&self) -> Result<&str>
pub fn get_name(&self) -> Result<&str>
pub fn get_subdevice_name(&self) -> Result<&str>
pub fn get_stream(&self) -> Direction
pub fn get_subdevices_count(&self) -> u32
pub fn get_subdevices_avail(&self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl !Send for Info
impl !Sync for Info
impl Unpin for Info
impl UnwindSafe for 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