Enum terminfo::capability::Value [] [src]

pub enum Value {
    Boolean(bool),
    Number(i16),
    String(Vec<u8>),
}

Possible value types for capabilities.

Variants

A boolean.

A number.

An ASCII string requiring expansion.

Trait Implementations

impl Eq for Value
[src]

impl PartialEq for Value
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

Formats the value using the given formatter.

impl Expand for Value
[src]