MCPcopy Create free account

hub / github.com/Roysten/rust-framebuffer / functions

Functions23 in github.com/Roysten/rust-framebuffer

↓ 4 callersMethodwrite_frame
Writes a frame to the Framebuffer.
src/lib.rs:193
↓ 2 callersMethodget_pos
(&self, w: usize, h: usize)
examples/starfield/main.rs:110
↓ 2 callersMethodinit
(&mut self, w: usize, h: usize)
examples/starfield/main.rs:94
↓ 1 callersMethodtick
(&mut self, framebuffer: &Framebuffer, frame: &mut [u8])
examples/starfield/main.rs:33
Methoddefault
()
src/lib.rs:93
Methoddescription
(&self)
src/lib.rs:139
Methoddraw_star
(star_data: &Star, framebuffer: &Framebuffer, frame: &mut [u8], color: (u8, u8, u8))
examples/starfield/main.rs:44
Methodfmt
(&self, fmt: &mut fmt::Formatter)
src/lib.rs:145
Methodfrom
(err: std::io::Error)
src/lib.rs:151
Methodget_fix_screeninfo
Creates a FixScreeninfo struct and fills it using ioctl.
src/lib.rs:203
Methodget_var_screeninfo
Creates a VarScreeninfo struct and fills it using ioctl.
src/lib.rs:216
Functionmain
()
examples/starfield/main.rs:127
Functionmain
Algorithm copied from: https://en.wikipedia.org/wiki/Mandelbrot_set
examples/mandelbrot/main.rs:7
Functionmain
()
examples/rust-logo/main.rs:6
Functionmain
()
examples/sierpinski/main.rs:5
Methodnew
(kind: FramebufferErrorKind, details: &str)
src/lib.rs:130
Methodnew
(framebuffer: &Framebuffer)
examples/starfield/main.rs:16
Methodnew_rand
(w: usize, h: usize)
examples/starfield/main.rs:82
Methodpan_display
( device: &File, screeninfo: &VarScreeninfo, )
src/lib.rs:241
Methodput_var_screeninfo
( device: &File, screeninfo: &VarScreeninfo, )
src/lib.rs:228
Methodread_frame
Reads a frame from the framebuffer.
src/lib.rs:198
Methodset_kd_mode
Sets the tty graphics mode. Make sure to change it back to KdMode::Text after the program is done!
src/lib.rs:256
Methodset_kd_mode_ex
Allows setting tty mode from non-terminal session by explicitly specifying device name
src/lib.rs:267