Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IntegralPilot/wasm_os
/ ColorCode
Class
ColorCode
src/vga_buffer.rs:45–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
44
#[repr(transparent)]
45
struct ColorCode(u8);
46
47
impl ColorCode {
48
/// Create a new `ColorCode` with the given foreground and background colors.
Callers
1
new
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected