Lines Matching refs:index
335 pub fn put_color_in_pixel(&mut self, color: u32, index: usize) { in put_color_in_pixel()
337 buf[index] = color; in put_color_in_pixel()
485 index: LineIndex, // 当前操作的位置 field
491 index: LineIndex::new(0), in new()
604 let mut index = start; in textui_refresh_characters() localVariable
608 vline.chars[<LineIndex as Into<usize>>::into(index)] in textui_refresh_characters()
609 .textui_refresh_character(actual_line_id, index)?; in textui_refresh_characters()
611 index = index + 1; in textui_refresh_characters()
682 vline.index = LineIndex::new(0); in textui_new_line()
720 let index = <LineIndex as Into<usize>>::into(vline.index); in true_textui_putchar_window() localVariable
722 if let Some(v_char) = vline.chars.get_mut(index) { in true_textui_putchar_window()
727 line_index = vline.index; in true_textui_putchar_window()
728 vline.index = vline.index + 1; in true_textui_putchar_window()
791 let mut space_to_print = 8 - <LineIndex as Into<usize>>::into(vline.index) % 8; in textui_putchar_window()
806 vline.index = vline.index - 1; in textui_putchar_window()
807 tmp = vline.index; in textui_putchar_window()
829 vline.index = LineIndex::new(0); in textui_putchar_window()
861 if !vline.index.check(self.chars_per_line) { in textui_putchar_window()
969 fn index(&self, c: char) -> usize; in index() method
976 fn index(&self, c: char) -> usize { in index() function