Struct move_bytecode_viewer::tui::tui_interface::DebugInterface
source · pub struct DebugInterface { /* private fields */ }
Expand description
A Debugging interface for the TUI. Useful for debugging things.
Implementations§
Trait Implementations§
source§impl Clone for DebugInterface
impl Clone for DebugInterface
source§fn clone(&self) -> DebugInterface
fn clone(&self) -> DebugInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DebugInterface
impl Debug for DebugInterface
source§impl TUIInterface for DebugInterface
impl TUIInterface for DebugInterface
source§const LEFT_TITLE: &'static str = "Left pane"
const LEFT_TITLE: &'static str = "Left pane"
The title to be used for the left screen
source§const RIGHT_TITLE: &'static str = "Right pane"
const RIGHT_TITLE: &'static str = "Right pane"
The title to be used for the right screen
source§fn on_redraw(&mut self, line_number: u16, column_number: u16) -> TUIOutput<'_>
fn on_redraw(&mut self, line_number: u16, column_number: u16) -> TUIOutput<'_>
Function called on each redraw. The
TUIOutput
contains that updated data to display on
each pane.source§fn bound_line(&self, line_number: u16) -> u16
fn bound_line(&self, line_number: u16) -> u16
Bounds the line number so that it does not run past the text.