pub trait AbstractTerminalAttributes {
    // Required methods
    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§

source

fn enable(&mut self, flag: TerminalFlag)

Enable a flag in this set of attributes.

source

fn disable(&mut self, flag: TerminalFlag)

Disable a flag in this set of attributes.

Implementors§