pub trait AudioInstance {
// Required methods
fn new() -> Self;
fn update(
&mut self,
frame_info: &AudioRenderInfo,
object_to_world: Mat4,
static_data: &[u8],
dynamic_data: &[u8],
stereo_buffer: &mut [f32],
);
}Expand description
Audio module creation & update trait
Required 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.