Enum terminfo::capability::Value
[−]
[src]
pub enum Value { Boolean(bool), Number(i16), String(Vec<u8>), }
Possible value types for capabilities.
Variants
Boolean(bool)
A boolean.
Number(i16)
A number.
String(Vec<u8>)
An ASCII string requiring expansion.
Trait Implementations
impl Eq for Value
[src]
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=
.
impl Clone for Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more