pub trait DrawBackend {
type Error;
// Required methods
fn apply(&mut self, command: Command) -> Result<(), Self::Error>;
fn close(self) -> Result<(), Self::Error>;
}Required Associated Types§
Required Methods§
fn apply(&mut self, command: Command) -> Result<(), Self::Error>
fn close(self) -> Result<(), Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".