Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Roysten/rust-framebuffer
/ functions
Functions
23 in github.com/Roysten/rust-framebuffer
⨍
Functions
23
◇
Types & classes
9
↓ 4 callers
Method
write_frame
Writes a frame to the Framebuffer.
src/lib.rs:193
↓ 2 callers
Method
get_pos
(&self, w: usize, h: usize)
examples/starfield/main.rs:110
↓ 2 callers
Method
init
(&mut self, w: usize, h: usize)
examples/starfield/main.rs:94
↓ 1 callers
Method
tick
(&mut self, framebuffer: &Framebuffer, frame: &mut [u8])
examples/starfield/main.rs:33
Method
default
()
src/lib.rs:93
Method
description
(&self)
src/lib.rs:139
Method
draw_star
(star_data: &Star, framebuffer: &Framebuffer, frame: &mut [u8], color: (u8, u8, u8))
examples/starfield/main.rs:44
Method
fmt
(&self, fmt: &mut fmt::Formatter)
src/lib.rs:145
Method
from
(err: std::io::Error)
src/lib.rs:151
Method
get_fix_screeninfo
Creates a FixScreeninfo struct and fills it using ioctl.
src/lib.rs:203
Method
get_var_screeninfo
Creates a VarScreeninfo struct and fills it using ioctl.
src/lib.rs:216
Function
main
()
examples/starfield/main.rs:127
Function
main
Algorithm copied from: https://en.wikipedia.org/wiki/Mandelbrot_set
examples/mandelbrot/main.rs:7
Function
main
()
examples/rust-logo/main.rs:6
Function
main
()
examples/sierpinski/main.rs:5
Method
new
(kind: FramebufferErrorKind, details: &str)
src/lib.rs:130
Method
new
(framebuffer: &Framebuffer)
examples/starfield/main.rs:16
Method
new_rand
(w: usize, h: usize)
examples/starfield/main.rs:82
Method
pan_display
( device: &File, screeninfo: &VarScreeninfo, )
src/lib.rs:241
Method
put_var_screeninfo
( device: &File, screeninfo: &VarScreeninfo, )
src/lib.rs:228
Method
read_frame
Reads a frame from the framebuffer.
src/lib.rs:198
Method
set_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
Method
set_kd_mode_ex
Allows setting tty mode from non-terminal session by explicitly specifying device name
src/lib.rs:267