pub trait FrameSink {
// Required method
fn render(&mut self, state: &TuiState, cursor_byte: usize) -> Result<()>;
// Provided methods
fn insert_history_cells(&mut self, _cells: &[CellNode]) -> Result<()> { ... }
fn replace_history_cells(&mut self, _cells: &[CellNode]) -> Result<()> { ... }
}Expand description
Synchronous frame boundary injected into the asynchronous application loop.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".