pub trait IsTerminal: Sealed {
// Required method
fn is_terminal(&self) -> bool;
}Expand description
Trait to determine if a descriptor/handle refers to a terminal/tty.
Required Methods§
Sourcefn is_terminal(&self) -> bool
fn is_terminal(&self) -> bool
Returns true if the descriptor/handle refers to a terminal/tty.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".