MCPcopy Create free account
hub / github.com/audulus/rui / gc

Method gc

src/views/stack.rs:255–265  ·  view source on GitHub ↗
(&self, path: &mut IdPath, cx: &mut Context, map: &mut Vec<ViewId>)

Source from the content-addressed store, hash-verified

253 }
254
255 fn gc(&self, path: &mut IdPath, cx: &mut Context, map: &mut Vec<ViewId>) {
256 map.push(cx.view_id(path));
257 let mut c = 0;
258 self.children.foreach_view(&mut |child| {
259 path.push(c);
260 map.push(cx.view_id(path));
261 child.gc(path, cx, map);
262 path.pop();
263 c += 1;
264 });
265 }
266
267 fn access(
268 &self,

Callers

nothing calls this directly

Calls 1

view_idMethod · 0.80

Tested by

no test coverage detected