1use ratatui::Frame; 2use std::error::Error; 3 4use super::app::App; 5 6pub trait Draw { 7 fn draw(self, app: &mut App, frame: &mut Frame) -> Result<(), Box<dyn Error>>; 8}