1 // Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 #[allow(missing_doc)];
13 use collections::HashMap;
15 /// A parsed terminfo entry.
17 /// Names for the terminal
18 priv names: Vec<~str> ,
19 /// Map of capability name to boolean value
20 priv bools: HashMap<~str, bool>,
21 /// Map of capability name to numeric value
22 numbers: HashMap<~str, u16>,
23 /// Map of capability name to raw (unexpanded) string
24 strings: HashMap<~str, Vec<u8> >