pub struct ElemId(/* private fields */);
Expand description
snd_ctl_elem_id_t wrapper
Implementations§
source§impl ElemId
impl ElemId
pub fn get_name(&self) -> Result<&str>
pub fn get_device(&self) -> u32
pub fn get_subdevice(&self) -> u32
pub fn get_numid(&self) -> u32
pub fn get_index(&self) -> u32
pub fn get_interface(&self) -> ElemIface
pub fn set_device(&mut self, v: u32)
pub fn set_subdevice(&mut self, v: u32)
pub fn set_numid(&mut self, v: u32)
pub fn set_index(&mut self, v: u32)
pub fn set_interface(&mut self, v: ElemIface)
pub fn set_name(&mut self, v: &CStr)
Trait Implementations§
impl Eq for ElemId
impl Send for ElemId
Auto Trait Implementations§
impl !RefUnwindSafe for ElemId
impl !Sync for ElemId
impl Unpin for ElemId
impl UnwindSafe for ElemId
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