Enum nixterm::xterm::XColor [−][src]
Variants
Index(u8)
Rgbi(f32, f32, f32)
Rgb(u16, u16, u16)
Raw(String)
Trait Implementations
impl Debug for XColor
[src]
impl Debug for XColor
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for XColor
[src]
impl Clone for XColor
fn clone(&self) -> XColor
[src]
fn clone(&self) -> XColor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl From<Color> for XColor
[src]
impl From<Color> for XColor
impl From<(u16, u16, u16)> for XColor
[src]
impl From<(u16, u16, u16)> for XColor
impl From<(f32, f32, f32)> for XColor
[src]
impl From<(f32, f32, f32)> for XColor
impl<'a> From<&'a str> for XColor
[src]
impl<'a> From<&'a str> for XColor
impl From<String> for XColor
[src]
impl From<String> for XColor