pub struct TermInfo {
pub names: Vec<String>,
pub bools: HashMap<&'static str, bool>,
pub numbers: HashMap<&'static str, u32>,
pub strings: HashMap<&'static str, Vec<u8>>,
}
Expand description
A parsed terminfo database entry.
Fields§
§names: Vec<String>
Names for the terminal
bools: HashMap<&'static str, bool>
Map of capability name to boolean value
numbers: HashMap<&'static str, u32>
Map of capability name to numeric value
strings: HashMap<&'static str, Vec<u8>>
Map of capability name to raw (unexpanded) string
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TermInfo
impl RefUnwindSafe for TermInfo
impl Send for TermInfo
impl Sync for TermInfo
impl Unpin for TermInfo
impl UnwindSafe for TermInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)