Trait Backend
pub trait Backend: Sized {
type Settings;
type Error;
// Required methods
fn setup(
settings: Self::Settings,
internal_buffer_size: usize,
) -> Result<(Self, u32), Self::Error> ⓘ;
fn start(&mut self, renderer: Renderer) -> Result<(), Self::Error> ⓘ;
}
Available on crate feature
dep_kira
only.Expand description
Connects a Renderer
to a lower level audio API.
Required Associated Types§
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.