backend: implement output transactions
This commit is contained in:
parent
f8d03c25a9
commit
7ab99bb840
25 changed files with 2712 additions and 1460 deletions
|
|
@ -147,6 +147,10 @@ impl<K, V, const N: usize> BinarySearchMap<K, V, N> {
|
|||
BinarySearchMapMutIterMut { pos: 0, map: self }
|
||||
}
|
||||
|
||||
pub fn values_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut V> + 'a {
|
||||
self.iter_mut().map(|(_, v)| v)
|
||||
}
|
||||
|
||||
pub fn remove_if<F: FnMut(&K, &V) -> bool>(&mut self, mut f: F) {
|
||||
let mut i = 0;
|
||||
while i < self.m.len() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue