pub struct Esc;
Trait Implementations§
Source§impl Command for Esc
impl Command for Esc
Source§fn write_ansi(&self, f: &mut impl Write) -> Result
fn write_ansi(&self, f: &mut impl Write) -> Result
Write an ANSI representation of this command to the given writer.
An ANSI code can manipulate the terminal by writing it to the terminal buffer.
However, only Windows 10 and UNIX systems support this. Read more
Source§fn is_ansi_code_supported(&self) -> bool
fn is_ansi_code_supported(&self) -> bool
Returns whether the ANSI code representation of this command is supported by windows. Read more
impl Copy for Esc
impl Eq for Esc
impl StructuralPartialEq for Esc
Auto Trait Implementations§
impl Freeze for Esc
impl RefUnwindSafe for Esc
impl Send for Esc
impl Sync for Esc
impl Unpin for Esc
impl UnwindSafe for Esc
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