Enum termbox::OutputMode [] [src]

pub enum OutputMode {
    Normal,
    Color256,
    Color216,
    Grayscale,
}

Variants

Valid attributes are defined by constants found in the attributes module.

256 color mode. * 0x00 - 0x07: The 8 standard colors defined in the attributes module. * 0x08 - 0x0f: Bold variations of the 8 standard colors. * 0x10 - 0xe7: 216 additional colors. * 0xe8 - 0xff: 24 shades of gray. Due to the addition of the DEFAULT attribute, the 8 standard colors should have their value subtracted by one.

Supports only the 216 colors from 0x10 - 0xe7 described above.

Supports only the 24 shades of gray from 0xe8 - 0xff described above.

Trait Implementations

impl Clone for OutputMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for OutputMode
[src]

impl Debug for OutputMode
[src]

Formats the value using the given formatter.

impl Eq for OutputMode
[src]

impl Hash for OutputMode
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for OutputMode
[src]

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

This method tests for !=.