Trait tui::terminal::Backend
[−]
[src]
pub trait Backend { fn draw<'a, I>(&mut self, content: I) -> Result<(), Error> where I: Iterator<Item=(u16, u16, &'a Cell)>; fn hide_cursor(&mut self) -> Result<(), Error>; fn show_cursor(&mut self) -> Result<(), Error>; fn clear(&mut self) -> Result<(), Error>; fn size(&self) -> Result<Rect, Error>; fn flush(&mut self) -> Result<(), Error>; }
Required Methods
fn draw<'a, I>(&mut self, content: I) -> Result<(), Error> where I: Iterator<Item=(u16, u16, &'a Cell)>
fn hide_cursor(&mut self) -> Result<(), Error>
fn show_cursor(&mut self) -> Result<(), Error>
fn clear(&mut self) -> Result<(), Error>
fn size(&self) -> Result<Rect, Error>
fn flush(&mut self) -> Result<(), Error>
Implementors
impl Backend for TermionBackend
impl Backend for RustboxBackend