Struct nixterm::terminfo::TermInfoBuf [−][src]
The owning, mutable version of TermInfo
Fields
names: Vec<String>
Methods
impl TermInfoBuf
[src]
impl TermInfoBuf
pub fn from_terminfo(ti: &TermInfo) -> TermInfoBuf
[src]
pub fn from_terminfo(ti: &TermInfo) -> TermInfoBuf
pub fn new() -> TermInfoBuf
[src]
pub fn new() -> TermInfoBuf
pub fn has_ext(&self) -> bool
[src]
pub fn has_ext(&self) -> bool
pub fn boolean(&self, field: BooleanField) -> bool
[src]
pub fn boolean(&self, field: BooleanField) -> bool
pub fn number(&self, field: NumericField) -> Option<u16>
[src]
pub fn number(&self, field: NumericField) -> Option<u16>
pub fn string(&self, field: StringField) -> Option<&str>
[src]
pub fn string(&self, field: StringField) -> Option<&str>
pub fn exec<'a>(&'a self, field: StringField) -> Option<Executor<'a>>
[src]
pub fn exec<'a>(&'a self, field: StringField) -> Option<Executor<'a>>
Execute a string
pub fn ext_index<T: AsRef<str>>(&self, s: T) -> Option<usize>
[src]
pub fn ext_index<T: AsRef<str>>(&self, s: T) -> Option<usize>
pub fn ext_boolean<T: AsRef<str>>(&self, field: T) -> bool
[src]
pub fn ext_boolean<T: AsRef<str>>(&self, field: T) -> bool
pub fn ext_number<T: AsRef<str>>(&self, field: T) -> Option<u16>
[src]
pub fn ext_number<T: AsRef<str>>(&self, field: T) -> Option<u16>
pub fn ext_string<T: AsRef<str>>(&self, field: T) -> Option<&str>
[src]
pub fn ext_string<T: AsRef<str>>(&self, field: T) -> Option<&str>
pub fn set_boolean(&mut self, field: BooleanField, v: bool) -> Result<()>
[src]
pub fn set_boolean(&mut self, field: BooleanField, v: bool) -> Result<()>
pub fn set_number(&mut self, field: NumericField, v: u16) -> Result<()>
[src]
pub fn set_number(&mut self, field: NumericField, v: u16) -> Result<()>
pub fn set_string<T: AsRef<str>>(
&mut self,
field: StringField,
v: T
) -> Result<()>
[src]
pub fn set_string<T: AsRef<str>>(
&mut self,
field: StringField,
v: T
) -> Result<()>
pub fn set_ext_boolean(&mut self, field: String, v: bool) -> Result<()>
[src]
pub fn set_ext_boolean(&mut self, field: String, v: bool) -> Result<()>
pub fn set_ext_number(&mut self, field: String, v: u16) -> Result<()>
[src]
pub fn set_ext_number(&mut self, field: String, v: u16) -> Result<()>
pub fn set_ext_string(&mut self, field: String, v: String) -> Result<()>
[src]
pub fn set_ext_string(&mut self, field: String, v: String) -> Result<()>
Trait Implementations
impl Debug for TermInfoBuf
[src]
impl Debug for TermInfoBuf
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for TermInfoBuf
[src]
impl Clone for TermInfoBuf
fn clone(&self) -> TermInfoBuf
[src]
fn clone(&self) -> TermInfoBuf
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> From<TermInfo<'a>> for TermInfoBuf
[src]
impl<'a> From<TermInfo<'a>> for TermInfoBuf
fn from(src: TermInfo<'a>) -> TermInfoBuf
[src]
fn from(src: TermInfo<'a>) -> TermInfoBuf
Performs the conversion.
impl<'a> From<&'a TermInfo<'a>> for TermInfoBuf
[src]
impl<'a> From<&'a TermInfo<'a>> for TermInfoBuf
fn from(src: &'a TermInfo<'a>) -> TermInfoBuf
[src]
fn from(src: &'a TermInfo<'a>) -> TermInfoBuf
Performs the conversion.
Auto Trait Implementations
impl Send for TermInfoBuf
impl Send for TermInfoBuf
impl Sync for TermInfoBuf
impl Sync for TermInfoBuf