Struct tui::backend::TestBackend [−][src]
pub struct TestBackend { /* fields omitted */ }
A backend used for the integration tests.
Implementations
impl TestBackend
[src]
impl TestBackend
[src]Trait Implementations
impl Backend for TestBackend
[src]
impl Backend for TestBackend
[src]fn draw<'a, I>(&mut self, content: I) -> Result<(), Error> where
I: Iterator<Item = (u16, u16, &'a Cell)>,
[src]
I: Iterator<Item = (u16, u16, &'a Cell)>,
fn hide_cursor(&mut self) -> Result<(), Error>
[src]
fn show_cursor(&mut self) -> Result<(), Error>
[src]
fn get_cursor(&mut self) -> Result<(u16, u16), Error>
[src]
fn set_cursor(&mut self, x: u16, y: u16) -> Result<(), Error>
[src]
fn clear(&mut self) -> Result<(), Error>
[src]
fn size(&self) -> Result<Rect, Error>
[src]
fn flush(&mut self) -> Result<(), Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for TestBackend
impl RefUnwindSafe for TestBackend
impl Send for TestBackend
impl Send for TestBackend
impl Sync for TestBackend
impl Sync for TestBackend
impl Unpin for TestBackend
impl Unpin for TestBackend
impl UnwindSafe for TestBackend
impl UnwindSafe for TestBackend