pub trait Draw {
// Required method
fn draw(
self,
app: &mut App,
frame: &mut Frame<'_>,
) -> Result<(), Box<dyn Error>>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".