pub struct BasicFbState {
pub cursor_x: usize,
pub cursor_y: usize,
}Expand description
A struct which holds the basic FB state (cursor position)
Fields§
§cursor_x: usize§cursor_y: usizeImplementations§
Source§impl BasicFbState
impl BasicFbState
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Constructor; creates a new BasicFbState with the cursor at (0, 0)