Trait bdrck::cli::AbstractTerminalAttributes[][src]

pub trait AbstractTerminalAttributes {
    fn enable(&mut self, flag: TerminalFlag);
fn disable(&mut self, flag: TerminalFlag); }

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)[src]

Enable a flag in this set of attributes.

fn disable(&mut self, flag: TerminalFlag)[src]

Disable a flag in this set of attributes.

Loading content...

Implementors

impl AbstractTerminalAttributes for TerminalAttributes[src]

Loading content...