Struct term::terminfo::TermInfo [] [src]

pub struct TermInfo {
    pub names: Vec<String>,
    pub bools: HashMap<Stringbool>,
    pub numbers: HashMap<Stringu16>,
    pub strings: HashMap<StringVec<u8>>,
}
Unstable (rustc_private)

: use the crates.io term library instead

[]

A parsed terminfo database entry.

Fields

names: Vec<String>
Unstable (rustc_private)

: use the crates.io term library instead

[]

Names for the terminal

bools: HashMap<Stringbool>
Unstable (rustc_private)

: use the crates.io term library instead

[]

Map of capability name to boolean value

numbers: HashMap<Stringu16>
Unstable (rustc_private)

: use the crates.io term library instead

[]

Map of capability name to numeric value

strings: HashMap<StringVec<u8>>
Unstable (rustc_private)

: use the crates.io term library instead

[]

Map of capability name to raw (unexpanded) string

Methods

impl TermInfo
[src]

fn from_env() -> Result<TermInfoError>[]

Unstable (rustc_private)

: use the crates.io term library instead

Create a TermInfo based on current environment.

fn from_name(name: &str) -> Result<TermInfoError>[]

Unstable (rustc_private)

: use the crates.io term library instead

Create a TermInfo for the named terminal.

fn from_path<P: AsRef<Path>>(path: P) -> Result<TermInfoError>[]

Unstable (rustc_private)

: use the crates.io term library instead

Parse the given TermInfo.

Trait Implementations

Derived Implementations

impl Debug for TermInfo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result[]

Formats the value using the given formatter.