pub struct UI {
pub size: (usize, usize),
/* private fields */
}
Expand description
UI is mainly concerned with drawing to the screen, managing the active views, and responding to user input.
Fields§
§size: (usize, usize)
Size of screen (cols, rows)
Implementations§
Auto Trait Implementations§
impl Freeze for UI
impl !RefUnwindSafe for UI
impl !Send for UI
impl !Sync for UI
impl Unpin for UI
impl !UnwindSafe for UI
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