bootproof/src/graphics/terminal.rs

11 lines
254 B
Rust
Raw Normal View History

pub mod display;
2020-07-16 17:04:19 -07:00
pub mod frame;
2020-07-16 17:04:19 -07:00
use crate::graphics::terminal::frame::TerminalFrame;
2020-07-16 17:04:19 -07:00
pub trait Terminal {
fn get_frame<'a>(&'a self) -> &'a TerminalFrame;
fn borrow_frame<'a>(&'a mut self) -> &'a mut TerminalFrame;
fn refresh(&mut self);
}