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

Method clear_data

libs/scrap/src/dxgi/mag.rs:490–494  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488 }
489
490 fn clear_data() {
491 let mut lock = MAG_BUFFER.lock().unwrap();
492 lock.0 = false;
493 lock.1.clear();
494 }
495
496 pub(crate) fn frame(&mut self, data: &mut Vec<u8>) -> Result<()> {
497 Self::clear_data();

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected