pub struct AudioDevice<CB: AudioCallback>(_);
Expand description

Audio callback or playback device that can be paused and resumed.

Trait Implementations

Return the status of this audio callback device.

Return the current driver of this audio callback device.

Returns the AudioSpec for this audio callback device.

Resumes playback of this audio callback device.

Pause playback of this audio callback device.

Formats the value using the given formatter. 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.