[][src]Struct alsa::mixer::SelemId

pub struct 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]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]