pub trait DrawBackend {
type Error;
// Required methods
fn apply(&mut self, command: Command) -> Result<(), Self::Error>;
fn close(self) -> Result<(), Self::Error>;
}
pub trait DrawBackend {
type Error;
// Required methods
fn apply(&mut self, command: Command) -> Result<(), Self::Error>;
fn close(self) -> Result<(), Self::Error>;
}