pub trait IsTerminal {
// Required method
fn is_terminal(&self) -> bool;
}
Required Methods§
Sourcefn is_terminal(&self) -> bool
fn is_terminal(&self) -> bool
Returns whether this stream is backed by a TTY.
pub trait IsTerminal {
// Required method
fn is_terminal(&self) -> bool;
}
Returns whether this stream is backed by a TTY.