pub trait Renderable {
// Required method
fn render(&self) -> RgbFrame;
}Expand description
An environment that can render its current state to an RGB frame.
Implement this trait to enable GIF recording via write_gif.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".