Enum termbox::OutputMode
[−]
[src]
pub enum OutputMode { Normal, Color256, Color216, Grayscale, }
Variants
Normal
Valid attributes are defined by constants found in the attributes
module.
Color256
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.
Color216
Supports only the 216 colors from 0x10 - 0xe7
described above.
Grayscale
Supports only the 24 shades of gray from 0xe8 - 0xff
described above.
Trait Implementations
impl Clone for OutputMode
[src]
fn clone(&self) -> OutputMode
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
impl Copy for OutputMode
[src]
impl Debug for OutputMode
[src]
impl Eq for OutputMode
[src]
impl Hash for OutputMode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more