pub struct Counter {
pub counts: HashMap<&'static str, i32>,
pub last_params: HashMap<&'static str, Vec<u32>>,
pub last_strings: HashMap<&'static str, String>,
pub last_private: Option<bool>,
}
Fields§
§counts: HashMap<&'static str, i32>
§last_params: HashMap<&'static str, Vec<u32>>
§last_strings: HashMap<&'static str, String>
§last_private: Option<bool>
Implementations§
Trait Implementations§
Source§impl ParserListener for Counter
impl ParserListener for Counter
fn alignment_display(&mut self)
fn define_charset(&mut self, code: &str, mode: &str)
fn reset(&mut self)
fn index(&mut self)
fn linefeed(&mut self)
fn reverse_index(&mut self)
fn set_tab_stop(&mut self)
fn save_cursor(&mut self)
fn restore_cursor(&mut self)
fn shift_out(&mut self)
fn shift_in(&mut self)
fn bell(&mut self)
fn backspace(&mut self)
fn tab(&mut self)
fn cariage_return(&mut self)
fn draw(&mut self, string: &str)
fn insert_characters(&mut self, count: Option<u32>)
fn cursor_up(&mut self, count: Option<u32>)
fn cursor_down(&mut self, count: Option<u32>)
fn cursor_forward(&mut self, count: Option<u32>)
fn cursor_back(&mut self, count: Option<u32>)
fn cursor_down1(&mut self, count: Option<u32>)
fn cursor_up1(&mut self, count: Option<u32>)
fn cursor_to_column(&mut self, column: Option<u32>)
fn cursor_position(&mut self, line: Option<u32>, column: Option<u32>)
fn erase_in_display(&mut self, how: Option<u32>, private: Option<bool>)
fn erase_in_line(&mut self, how: Option<u32>, private: Option<bool>)
fn insert_lines(&mut self, count: Option<u32>)
fn delete_lines(&mut self, count: Option<u32>)
fn delete_characters(&mut self, count: Option<u32>)
fn erase_characters(&mut self, count: Option<u32>)
fn report_device_attributes(&mut self, mode: Option<u32>, private: Option<bool>)
fn cursor_to_line(&mut self, line: Option<u32>)
fn clear_tab_stop(&mut self, how: Option<u32>)
fn set_mode(&mut self, modes: &[u32], private: bool)
fn reset_mode(&mut self, modes: &[u32], private: bool)
fn select_graphic_rendition(&mut self, modes: &[u32])
fn set_title(&mut self, title: &str)
fn set_icon_name(&mut self, icon_name: &str)
fn display(&mut self) -> Vec<String>
fn set_margins(&mut self, _top: Option<u32>, _bottom: Option<u32>)
fn escape_dispatch(&mut self, escape_command: &str)
fn basic_dispatch(&mut self, basic_command: &str)
fn csi_dispatch(&mut self, csi_command: &str, params: &[u32], is_private: bool)
Auto Trait Implementations§
impl Freeze for Counter
impl RefUnwindSafe for Counter
impl Send for Counter
impl Sync for Counter
impl Unpin for Counter
impl UnwindSafe for Counter
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