pub trait Canvas: Sized {
// Required method
fn plot(&mut self, pos: Vec2D, c: ColChar);
}Expand description
A struct that can be drawn to by elements which implement CanDraw
The only structs that implement this in gemini are View and ScaleFitView.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.