Trait awedio::sounds::wrappers::AddSound

source ·
pub trait AddSound {
    // Required method
    fn add(&mut self, sound: Box<dyn Sound>);
}
Expand description

A Sound which contains other sounds that can be added to it.

Required Methods§

source

fn add(&mut self, sound: Box<dyn Sound>)

Add a sound to be played. When or how the sound is played is implementation specific.

Implementors§