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
sourceimpl DebugInterface
impl DebugInterface
Trait Implementations
sourceimpl Clone for DebugInterface
impl Clone for DebugInterface
sourcefn clone(&self) -> DebugInterface
fn clone(&self) -> DebugInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DebugInterface
impl Debug for DebugInterface
sourceimpl TUIInterface for DebugInterface
impl TUIInterface for DebugInterface
sourceconst LEFT_TITLE: &'static str = "Left pane"
const LEFT_TITLE: &'static str = "Left pane"
The title to be used for the left screen
sourceconst RIGHT_TITLE: &'static str = "Right pane"
const RIGHT_TITLE: &'static str = "Right pane"
The title to be used for the right screen
sourcefn 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. Read more
sourcefn 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.
Auto Trait Implementations
impl RefUnwindSafe for DebugInterface
impl Send for DebugInterface
impl Sync for DebugInterface
impl Unpin for DebugInterface
impl UnwindSafe for DebugInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more