pub trait Backend: Sized {
type Settings;
type Error;
// Required methods
fn setup(settings: Self::Settings) -> Result<(Self, u32), Self::Error>;
fn start(&mut self, renderer: Renderer) -> Result<(), Self::Error>;
}
Expand description
Connects a Renderer
to a lower level audio API.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.