implemented method get for struct MoveBuffer

This commit is contained in:
Varga Dávid Lajos
2025-11-19 15:53:39 +01:00
parent 4e7ac2a195
commit f64ebfa47f

View File

@@ -24,4 +24,8 @@ impl MoveBuffer {
pub fn count(&self) -> usize{
return self.count;
}
#[inline(always)]
pub fn get(&self, idx: usize) -> &BitMove {
return &self.buffer[idx];
}
}