MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / take_result

Function take_result

src/picking.rs:291–294  ·  view source on GitHub ↗
(instance_id: u64)

Source from the content-addressed store, hash-verified

289}
290
291fn take_result(instance_id: u64) -> Option<GpuPickResult> {
292 let mut map = registry().lock().unwrap();
293 map.get_mut(&instance_id).and_then(|e| e.latest_res.take())
294}
295
296fn take_latest_request(instance_id: u64) -> Option<GpuPickRequest> {
297 let mut map = registry().lock().unwrap();

Callers 1

consume_gpu_resultMethod · 0.85

Calls 1

registryFunction · 0.85

Tested by

no test coverage detected