MCPcopy Create free account
hub / github.com/Recordscript/recordscript / main

Function main

libs/scrap/examples/screenshot.rs:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9use scrap::{Capturer, Display, Frame, TraitCapturer, TraitPixelBuffer};
10
11fn main() {
12 let n = Display::all().unwrap().len();
13 for i in 0..n {
14 record(i);
15 }
16}
17
18fn get_display(i: usize) -> Display {
19 Display::all().unwrap().remove(i)

Callers

nothing calls this directly

Calls 1

recordFunction · 0.70

Tested by

no test coverage detected