Enum term_basics_linux::UserColour[][src]

pub enum UserColour {
    Std,
    Black,
    Red,
    Green,
    Yellow,
    Blue,
    Magenta,
    Cyan,
    Grey,
}

Colours available. The user has defined the exact values of these colours for there TTY or emulator.

Variants

Std
Black
Red
Green
Yellow
Blue
Magenta
Cyan
Grey

Implementations

impl UserColour[src]

pub fn iterator() -> Iter<'static, Self>[src]

Iterate over all colours in the enum

Example

use term_basics_linux as tbl;
for col in tbl::UserColour::iterator(){
    //use col
}

Trait Implementations

impl Clone for UserColour[src]

impl Copy for UserColour[src]

impl Eq for UserColour[src]

impl PartialEq<UserColour> for UserColour[src]

impl StructuralEq for UserColour[src]

impl StructuralPartialEq for UserColour[src]

impl ToPrimitive for UserColour[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.