Enum nixterm::xterm::XColor[][src]

pub enum XColor {
    Index(u8),
    Rgbi(f32f32f32),
    Rgb(u16u16u16),
    Raw(String),
}

Variants

Trait Implementations

impl Debug for XColor
[src]

Formats the value using the given formatter. Read more

impl Clone for XColor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Color> for XColor
[src]

Performs the conversion.

impl From<(u16, u16, u16)> for XColor
[src]

Performs the conversion.

impl From<(f32, f32, f32)> for XColor
[src]

Performs the conversion.

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

Performs the conversion.

impl From<String> for XColor
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for XColor

impl Sync for XColor