implemented method add for struct MoveBuffer

This commit is contained in:
Varga Dávid Lajos
2025-11-19 15:40:11 +01:00
parent 85a7fa37ef
commit dc176c103b

View File

@@ -14,4 +14,9 @@ impl MoveBuffer {
count: 0
};
}
#[inline]
pub fn add(&mut self, bitmove: BitMove) {
self.buffer[self.count] = bitmove;
self.count += 1;
}
}