MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / framebuffer

Method framebuffer

user/src/io.rs:31–33  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

29 Self { size, fb}
30 }
31 pub fn framebuffer(&mut self) -> &mut [u8] {
32 self.fb
33 }
34 pub fn paint_on_framebuffer(&mut self, p: impl FnOnce(&mut [u8]) -> ()) {
35 p(self.framebuffer());
36 framebuffer_flush();

Callers 1

paint_on_framebufferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected