Struct makeup::render::terminal::TerminalRenderer
source · pub struct TerminalRenderer { /* private fields */ }
Expand description
A Renderer
that renders to a terminal.
Implementations§
Trait Implementations§
source§impl Debug for TerminalRenderer
impl Debug for TerminalRenderer
source§impl Renderer for TerminalRenderer
impl Renderer for TerminalRenderer
fn render<'life0, 'life1, 'async_trait>(
&'life0 mut self,
commands: &'life1 [DrawCommandBatch]
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn flush<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn move_cursor<'life0, 'async_trait>(
&'life0 mut self,
x: Coordinate,
y: Coordinate
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn move_cursor_relative<'life0, 'async_trait>(
&'life0 mut self,
x: RelativeCoordinate,
y: RelativeCoordinate
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_at_cursor<'life0, 'async_trait>(
&'life0 self,
width: Dimension
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_string<'life0, 'async_trait>(
&'life0 self,
x: Coordinate,
y: Coordinate,
width: Dimension
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cursor(&self) -> Coordinates
fn dimensions(&self) -> Coordinates
fn set_width(&mut self, width: Dimension)
fn set_height(&mut self, height: Dimension)
Auto Trait Implementations§
impl RefUnwindSafe for TerminalRenderer
impl Send for TerminalRenderer
impl Sync for TerminalRenderer
impl Unpin for TerminalRenderer
impl UnwindSafe for TerminalRenderer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more