Struct impose::Audio

source ·
pub struct Audio { /* private fields */ }
Expand description

Struct representing the Audio system

Implementations

Creates a new instance of the Audio system

Adds a piece of audio to the system

Add audio that is packed into the binary

Plays an piece of Audio that has been loaded into the system

Loops a piece of Audio that has been loaded into the system

Trait Implementations

Implementation of Default trait for Audio

Creates a default instance of Audio

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.