[−][src]Struct tui::backend::TestBackend
Methods
impl TestBackend
[src]
Trait Implementations
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]
impl Debug for TestBackend
[src]
Auto Trait Implementations
impl RefUnwindSafe for TestBackend
impl Send for TestBackend
impl Sync for TestBackend
impl Unpin for TestBackend
impl UnwindSafe for TestBackend
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,