pub struct TerminalUi { /* private fields */ }
Implementations§
Source§impl TerminalUi
impl TerminalUi
Sourcepub fn new() -> TerminalUi
pub fn new() -> TerminalUi
Creates new instance of terminal backend. Required for starting the Tic-Tac-Toe game in the terminal.
§Examples
use tic_tac_terminal::TerminalUi;
let ui = TerminalUi::new();
Auto Trait Implementations§
impl !Freeze for TerminalUi
impl !RefUnwindSafe for TerminalUi
impl Send for TerminalUi
impl !Sync for TerminalUi
impl Unpin for TerminalUi
impl UnwindSafe for TerminalUi
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