MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / Color

Enum Color

kernel/src/vga_buffer.rs:5–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#[derive(Debug, Clone, Copy, PartialEq, Eq)]
4#[repr(u8)]
5pub enum Color {
6 Black = 0,
7 Blue = 1,
8 Green = 2,
9 Cyan = 3,
10 Red = 4,
11 Magenta = 5,
12 Brown = 6,
13 LightGray = 7,
14 DarkGray = 8,
15 LightBlue = 9,
16 LightGreen = 10,
17 LightCyan = 11,
18 LightRed = 12,
19 Pink = 13,
20 Yellow = 14,
21 White = 15,
22}
23
24#[derive(Debug, Clone, Copy, PartialEq, Eq)]
25#[repr(transparent)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected