Trait bdrck::cli::AbstractTerminalAttributes
source · [−]pub trait AbstractTerminalAttributes {
fn enable(&mut self, flag: TerminalFlag);
fn disable(&mut self, flag: TerminalFlag);
}
Expand description
This trait describes an abstract type which describes the attributes of a terminal.
This trait primarily exists for testing purposes. In almost all cases, users
will instead just use the concrete type Stream
defined below.
Required methods
fn enable(&mut self, flag: TerminalFlag)
fn enable(&mut self, flag: TerminalFlag)
Enable a flag in this set of attributes.
fn disable(&mut self, flag: TerminalFlag)
fn disable(&mut self, flag: TerminalFlag)
Disable a flag in this set of attributes.