pub struct TerminalManager { /* private fields */ }Expand description
Manages terminal setup, teardown, and state
Implementations§
Source§impl TerminalManager
impl TerminalManager
Sourcepub fn new(config: TerminalConfig) -> Result<Self>
pub fn new(config: TerminalConfig) -> Result<Self>
Create a new terminal manager
Sourcepub fn stdout_mut(&mut self) -> Option<&mut Stdout>
pub fn stdout_mut(&mut self) -> Option<&mut Stdout>
Get a mutable reference to stdout
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TerminalManager
impl RefUnwindSafe for TerminalManager
impl Send for TerminalManager
impl Sync for TerminalManager
impl Unpin for TerminalManager
impl UnwindSafe for TerminalManager
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
Source§impl<T> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter