Enum terminfo::Parameter [] [src]

pub enum Parameter {
    Number(i32),
    String(Vec<u8>),
}

An expansion parameter.

Variants

A number.

An ASCII string.

Trait Implementations

impl Eq for Parameter
[src]

impl PartialEq for Parameter
[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 Parameter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Parameter
[src]

Formats the value using the given formatter.

impl Default for Parameter
[src]

Returns the "default value" for a type. Read more

impl From<i32> for Parameter
[src]

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.