pub trait AudioPlayer {
type Sound;
// Required methods
fn play(&self, sound: &Self::Sound, properties: AudioProperties);
fn load_sound(&self, bytes: &'static [u8]) -> Self::Sound;
}
pub trait AudioPlayer {
type Sound;
// Required methods
fn play(&self, sound: &Self::Sound, properties: AudioProperties);
fn load_sound(&self, bytes: &'static [u8]) -> Self::Sound;
}