pub trait ApplicationAudio<L: ApplicationLogic>: Sized + 'static {
// Required method
fn new(assets: &mut impl Assets) -> Self;
// Provided method
fn audio(&mut self, _audio: &mut impl Audio, _logic: &L) { ... }
}
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.