MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / record

Function record

native/shared/src/renderer/graph.rs:278–280  ·  view source on GitHub ↗
(name: &'static str)

Source from the content-addressed store, hash-verified

276 type TestCtx = Vec<&'static str>;
277
278 fn record(name: &'static str) -> RunFn<'static, TestCtx> {
279 Box::new(move |ctx: &mut TestCtx| ctx.push(name))
280 }
281
282 #[test]
283 fn empty_graph_runs_clean() {

Calls 1

pushMethod · 0.45