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

pub enum Value {
    True,
    Number(i32),
    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. Read more

impl From<()> for Value
[src]

Performs the conversion.

impl From<u8> for Value
[src]

Performs the conversion.

impl From<i8> for Value
[src]

Performs the conversion.

impl From<u16> for Value
[src]

Performs the conversion.

impl From<i16> for Value
[src]

Performs the conversion.

impl From<u32> for Value
[src]

Performs the conversion.

impl From<i32> for Value
[src]

Performs the conversion.

impl From<String> for Value
[src]

Performs the conversion.

impl<'a> From<&'a str> for Value
[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

Performs the conversion.

impl<'a> From<&'a [u8]> for Value
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Value

impl Sync for Value