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

Class ColorCode

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

Source from the content-addressed store, hash-verified

24#[derive(Debug, Clone, Copy, PartialEq, Eq)]
25#[repr(transparent)]
26struct ColorCode(u8);
27
28impl ColorCode {
29 fn new(foreground: Color, background: Color) -> ColorCode {

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected