pub struct Screen {
pub text: String,
pub cursor: Cursor,
pub cols: u16,
pub rows: u16,
}Expand description
The visible screen as text, with the cursor and the size.
Fields§
§text: String§cursor: Cursor§cols: u16§rows: u16Trait Implementations§
impl Eq for Screen
impl StructuralPartialEq for Screen
Auto Trait Implementations§
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Send for Screen
impl Sync for Screen
impl Unpin for Screen
impl UnsafeUnpin for Screen
impl UnwindSafe for Screen
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