pub trait AddAudioSource {
// Required method
fn add_audio_source<T>(&mut self) -> &mut Self
where T: Decodable + Asset,
f32: FromSample<<T as Decodable>::DecoderItem>;
}
Expand description
Required Methods§
Sourcefn add_audio_source<T>(&mut self) -> &mut Self
fn add_audio_source<T>(&mut self) -> &mut Self
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.