pub trait Cursor {
// Required methods
fn set_cursor_pos<P: Into<Position>>(&mut self, position: P);
fn move_cursor_left(&mut self, cells: u16);
fn move_cursor_up(&mut self, lines: u16);
fn move_cursor_down(&mut self, lines: u16);
fn move_cursor_right(&mut self, cells: u16);
fn set_cursor_col(&mut self, col: u16);
}Required Methods§
fn set_cursor_pos<P: Into<Position>>(&mut self, position: P)
fn move_cursor_left(&mut self, cells: u16)
fn move_cursor_up(&mut self, lines: u16)
fn move_cursor_down(&mut self, lines: u16)
fn move_cursor_right(&mut self, cells: u16)
fn set_cursor_col(&mut self, col: u16)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".