pub struct ProcessTerminal { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for ProcessTerminal
impl Default for ProcessTerminal
Source§impl Drop for ProcessTerminal
impl Drop for ProcessTerminal
Source§impl TerminalTrait for ProcessTerminal
impl TerminalTrait for ProcessTerminal
fn start(&mut self, writer: &mut dyn Write) -> Result<()>
fn stop(&mut self, writer: &mut dyn Write) -> Result<()>
fn drain_input(&mut self, max_ms: u64) -> Result<()>
fn write(&self, writer: &mut dyn Write, data: &str) -> Result<()>
fn size(&self) -> Result<(u16, u16)>
fn kitty_protocol_active(&self) -> bool
fn move_by(&self, writer: &mut dyn Write, lines: i32) -> Result<()>
fn hide_cursor(&self, writer: &mut dyn Write) -> Result<()>
fn show_cursor(&self, writer: &mut dyn Write) -> Result<()>
fn clear_line(&self, writer: &mut dyn Write) -> Result<()>
fn clear_from_cursor(&self, writer: &mut dyn Write) -> Result<()>
fn clear_screen(&self, writer: &mut dyn Write) -> Result<()>
fn set_title(&self, writer: &mut dyn Write, title: &str) -> Result<()>
fn set_progress(&self, writer: &mut dyn Write, active: bool) -> Result<()>
Auto Trait Implementations§
impl Freeze for ProcessTerminal
impl RefUnwindSafe for ProcessTerminal
impl Send for ProcessTerminal
impl Sync for ProcessTerminal
impl Unpin for ProcessTerminal
impl UnsafeUnpin for ProcessTerminal
impl UnwindSafe for ProcessTerminal
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