1 2 3 4 5 6 7 8 9 10 11 12 13
use crossterm::{QueueableCommand, Result}; mod clear; mod cur; mod full; pub use clear::Clear; pub use cur::ShowCur; pub use full::Full; pub trait Draw { fn draw(&self, out: &mut impl QueueableCommand) -> Result<()>; }