pub struct ElemList(/* private fields */);Expand description
snd_ctl_elem_list_t wrapper
Implementations§
Source§impl ElemList
impl ElemList
pub fn get_used(&self) -> u32
pub fn get_id(&self, index: u32) -> Result<ElemId>
pub fn get_numid(&self, index: u32) -> Result<u32>
pub fn get_interface(&self, index: u32) -> Result<ElemIface>
pub fn get_device(&self, index: u32) -> Result<u32>
pub fn get_subdevice(&self, index: u32) -> Result<u32>
pub fn get_name(&self, index: u32) -> Result<&str>
pub fn get_index(&self, index: u32) -> Result<u32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElemList
impl RefUnwindSafe for ElemList
impl !Send for ElemList
impl !Sync for ElemList
impl Unpin for ElemList
impl UnsafeUnpin for ElemList
impl UnwindSafe for ElemList
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