Struct alsa::Ctl

source · []
pub struct Ctl(_);
Expand description

snd_ctl_t wrapper

Implementations

Wrapper around open that takes a &str instead of a &CStr

Open does not support async mode (it’s not very Rustic anyway)

Note: According to alsa-lib documentation, you’re also supposed to have functionality for returning whether or not you are subscribed. This does not work in practice, so I’m not including that here.

Trait Implementations

Wrapper around count and fill - returns an array of pollfds
Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.