Enum tvis_util::TerminalMode [] [src]

pub enum TerminalMode {
    Redir,
    Term,
    Cygwin,
    Console,
    Win10,
}

The type of terminal, if any, for a standard stream handle.

Variants

Not connected to a terminal or console.

A terminal emulator.

A Cygwin or MSYS2 terminal.

A legacy console buffer.

A Windows 10 console buffer that supports Console Virtual Terminal Sequences.

Trait Implementations

impl Clone for TerminalMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TerminalMode
[src]

impl Debug for TerminalMode
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TerminalMode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for TerminalMode
[src]