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

Class FBShare

bootloader/kernel/src/framebuffer.rs:185–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183
184#[repr(C)]
185pub struct FBShare<'a> {
186 pub pixels: &'a mut [RGBA],
187 pub w: usize,
188 pub h: usize,
189}
190impl FB {
191 pub fn new(info: &FrameBufferInfo) -> Self {
192 let w = info.width;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected