MCPcopy Create free account
hub / github.com/Ruddle/Fomos / FrameBufferWriter

Class FrameBufferWriter

bootloader/kernel/src/framebuffer.rs:48–54  ·  view source on GitHub ↗

Allows logging text to a pixel-based framebuffer.

Source from the content-addressed store, hash-verified

46
47/// Allows logging text to a pixel-based framebuffer.
48pub struct FrameBufferWriter {
49 framebuffer: &'static mut [u8],
50 info: FrameBufferInfo,
51 x_pos: usize,
52 y_pos: usize,
53 pub level: usize,
54}
55
56impl FrameBufferWriter {
57 /// Creates a new logger that uses the given framebuffer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected