[−][src]Struct alsa::mixer::SelemId
Wrapper for snd_mixer_selem_id_t No allocation (uses fixed array)
Methods
impl SelemId
[src]
pub fn new(name: &str, index: u32) -> SelemId
[src]
pub fn empty() -> SelemId
[src]
Returns an empty (zeroed) SelemId. This id is not a useable id and need to be initialized
like SelemId::new()
does
pub fn get_name(&self) -> Result<&str>
[src]
pub fn get_index(&self) -> u32
[src]
pub fn set_name(&mut self, name: &CStr)
[src]
pub fn set_index(&mut self, index: u32)
[src]
Auto Trait Implementations
impl Send for SelemId
impl Sync for SelemId
impl Unpin for SelemId
impl UnwindSafe for SelemId
impl RefUnwindSafe for SelemId
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,