Searched refs:LineIndex (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 190 pub struct LineIndex(i32); struct 191 impl LineIndex { impl 193 LineIndex(num) in new() 199 impl Add<LineIndex> for LineIndex { implementation 200 type Output = LineIndex; 202 fn add(self, rhs: LineIndex) -> Self::Output { in add() 203 LineIndex::new(self.0 + rhs.0) in add() 206 impl Add<i32> for LineIndex { implementation 208 type Output = LineIndex; 211 LineIndex::new(self.0 + rhs) in add() [all …]
|
H A D | textui_no_alloc.rs | 13 FontColor, LineId, LineIndex, TextuiCharChromatic, TEXTUI_CHAR_HEIGHT, TEXTUI_CHAR_WIDTH, 70 LineIndex::new(NO_ALLOC_OPERATIONS_INDEX.load(Ordering::SeqCst)), in no_init_textui_putchar_window() 84 LineIndex::new(NO_ALLOC_OPERATIONS_INDEX.load(Ordering::SeqCst)), in no_init_textui_putchar_window() 112 LineIndex::new(NO_ALLOC_OPERATIONS_INDEX.load(Ordering::SeqCst)), in no_init_textui_putchar_window()
|