pub struct Console;
Expand description
The struct to control the ncurses terminal Basically, it makes sure that the terminal gets created and deleted correctly
Implementations§
Source§impl Console
impl Console
Sourcepub fn new() -> Console
pub fn new() -> Console
Initialize the console, this probably should only be allowed once I have no idea what would happen if you try to create more than one on the same tty
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Console
impl RefUnwindSafe for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnwindSafe for Console
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