[][src]Struct alsa_sys::_snd_pcm_scope_ops

#[repr(C)]pub struct _snd_pcm_scope_ops {
    pub enable: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t) -> c_int>,
    pub disable: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
    pub start: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
    pub stop: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
    pub update: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
    pub reset: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
    pub close: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>,
}

#SND_PCM_TYPE_METER scope functions

Fields

enable: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t) -> c_int>

\brief Enable and prepare it using current params \param scope scope handle

disable: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief Disable \param scope scope handle

start: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief PCM has been started \param scope scope handle

stop: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief PCM has been stopped \param scope scope handle

update: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief New frames are present \param scope scope handle

reset: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief Reset status \param scope scope handle

close: Option<unsafe extern "C" fn(scope: *mut snd_pcm_scope_t)>

\brief PCM is closing \param scope scope handle

Trait Implementations

impl Clone for _snd_pcm_scope_ops[src]

impl Copy for _snd_pcm_scope_ops[src]

impl Debug for _snd_pcm_scope_ops[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.