[][src]Enum vga::colors::Color16

#[repr(u8)]pub enum Color16 {
    Black,
    Blue,
    Green,
    Cyan,
    Red,
    Magenta,
    Brown,
    LightGrey,
    DarkGrey,
    LightBlue,
    LightGreen,
    LightCyan,
    LightRed,
    Pink,
    Yellow,
    White,
}

Represents a 16 bit color used for vga display.

Variants

Black

Represents the color Black (0x0).

Blue

Represents the color Blue (0x1).

Green

Represents the color Green (0x2).

Cyan

Represents the color Cyan (0x3).

Red

Represents the color Red (0x4).

Magenta

Represents the color Magenta (0x5).

Brown

Represents the color Brown (0x6).

LightGrey

Represents the color LightGrey (0x7).

DarkGrey

Represents the color DarkGrey (0x8).

LightBlue

Represents the color LightBlue (0x9).

LightGreen

Represents the color LightGreen (0xA).

LightCyan

Represents the color LightCyan (0xB).

LightRed

Represents the color LightRed (0xC).

Pink

Represents the color Pink (0xD).

Yellow

Represents the color Yellow (0xE).

White

Represents the color White (0xF).

Trait Implementations

impl Clone for Color16[src]

impl Copy for Color16[src]

impl Debug for Color16[src]

impl From<Color16> for u8[src]

impl GraphicsWriter<Color16> for Graphics640x480x16[src]

Auto Trait Implementations

impl Send for Color16

impl Sync for Color16

impl Unpin for Color16

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, 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.