implemented method get for struct MoveBuffer
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user