1 viewer
rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off
crates/cre8-platform-framebuffer/src/lib.rs
Items
struct FbInfo struct BlitScale impl BlitScale struct FbBitfield struct FbVarScreeninfo struct FbFixScreeninfo impl Default for FbFixScreeninfo const FBIOGET_VSCREENINFO const FBIOGET_FSCREENINFO struct Framebuffer impl Send for Framebuffer impl Framebuffer impl Drop for Framebuffer struct Framebuffer impl Framebuffer enum Presenter impl Presenter const BARS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 42 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Presenter::open_bestsrc/lib.rs:407 | method | 9 | 2 | 10 | 2 | 2.3 | |
| Framebuffer::opensrc/lib.rs:174 | method | 10 | 2 | 3 | 3 | 2.3 | |
| scaled_channelsrc/lib.rs:488 | fn | 3 | 2 | 2 | 0 | 2.1 | |
| test_pattern_pixelsrc/lib.rs:468 | fn | 7 | 3 | 1 | 2 | 1.6 | |
| test_pattern_gradient_pixelsrc/lib.rs:481 | fn | 6 | 1 | 2 | 1 | 1.4 | |
| test_patternsrc/lib.rs:457 | fn | 10 | 3 | 3 | 1 | 1.3 | |
| test_pattern_bar_pixelsrc/lib.rs:476 | fn | 4 | 1 | 1 | 0 | 1.2 | |
| open_framebuffer_fdsrc/lib.rs:265 | fn | 6 | 2 | 1 | 0 | 1.1 | |
| open_mapped_framebuffersrc/lib.rs:272 | fn | 7 | 1 | 1 | 5 | 1.1 | |
| close_fdsrc/lib.rs:338 | fn | 6 | 1 | 1 | 0 | 1.1 | |
| source_pixel_countsrc/lib.rs:67 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| Framebuffer::pixel_fitssrc/lib.rs:245 | method | 3 | 1 | 1 | 0 | 1.1 | |
| FbFixScreeninfo::defaultsrc/lib.rs:145 | trait impl | 4 | 1 | 1 | 0 | 1.1 | |
| BlitScale::source_ysrc/lib.rs:49 | method | 3 | 2 | 2 | 0 | 1 | |
| Presenter::kindsrc/lib.rs:418 | method | 7 | 2 | 3 | 0 | 1 | |
| BlitScale::source_xsrc/lib.rs:45 | method | 3 | 2 | 2 | 0 | 0.9 | |
| Framebuffer::blit_rowsrc/lib.rs:210 | method | 18 | 2 | 1 | 3 | 0.8 | |
| BlitScale::newsrc/lib.rs:41 | method | 3 | 1 | 2 | 0 | 0.7 | |
| validate_source_framesrc/lib.rs:55 | fn | 10 | 4 | 2 | 1 | 0.7 | |
| Framebuffer::write_packed_pixelsrc/lib.rs:229 | method | 15 | 4 | 1 | 1 | 0.7 | |
| Framebuffer::packsrc/lib.rs:253 | method | 10 | 2 | 1 | 0 | 0.7 | |
| present_oncesrc/lib.rs:445 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| read_framebuffer_infosrc/lib.rs:280 | fn | 12 | 3 | 1 | 1 | 0.7 | |
| validate_framebuffer_depthsrc/lib.rs:293 | fn | 7 | 2 | 1 | 0 | 0.7 | |
| framebuffer_mem_lensrc/lib.rs:301 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| map_framebuffersrc/lib.rs:305 | fn | 11 | 2 | 1 | 0 | 0.7 | |
| framebuffer_from_mappingsrc/lib.rs:317 | fn | 20 | 1 | 1 | 0 | 0.7 | |
| Framebuffer::bytes_per_pixelsrc/lib.rs:199 | method | 3 | 1 | 1 | 0 | 0.6 | |
| Framebuffer::blit_rowssrc/lib.rs:203 | method | 6 | 2 | 1 | 2 | 0.6 | |
| Framebuffer::infosrc/lib.rs:185 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Framebuffer::blit_rgbasrc/lib.rs:192 | method | 6 | 1 | 0 | 4 | 0.5 | |
| Framebuffer::dropsrc/lib.rs:346 | trait impl | 7 | 1 | 0 | 0 | 0.5 | |
| Framebuffer::opensrc/lib.rs:369 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Framebuffer::infosrc/lib.rs:372 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Framebuffer::blit_rgbasrc/lib.rs:375 | method | 3 | 1 | 0 | 0 | 0.5 | |
| Presenter::infosrc/lib.rs:426 | method | 7 | 2 | 0 | 0 | 0.5 | |
| Presenter::blit_rgbasrc/lib.rs:434 | method | 7 | 2 | 0 | 0 | 0.5 | |
| fb_info_is_copy_and_eqsrc/lib.rs:497 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| test_pattern_has_right_size_and_is_nonemptysrc/lib.rs:505 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| test_pattern_uses_bars_then_gradientsrc/lib.rs:516 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| scaled_channel_handles_single_pixel_extentsrc/lib.rs:527 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| non_linux_open_errors_cleanlysrc/lib.rs:535 | fn | 4 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.