Add "LeafMeta" struct to leaf

This commit is contained in:
Michael Mikovsky
2026-05-31 10:26:57 -06:00
parent 0a44bc93de
commit f595b5aa98
11 changed files with 1576 additions and 374 deletions
+7
View File
@@ -120,4 +120,11 @@ impl Endpoint {
queue.clear();
}
}
pub fn iter_leaves<F>(&mut self) -> core::slice::IterMut<'_, Box<dyn Leaf + 'static>>
where
F: FnMut(&Packet),
{
self.leaves.iter_mut()
}
}