Struct inanis::cache::allocator::AllocationResult
source · pub struct AllocationResult {
pub transposition_table_size: usize,
pub pawn_hashtable_size: usize,
}
Fields§
§transposition_table_size: usize
§pawn_hashtable_size: usize
Implementations§
source§impl AllocationResult
impl AllocationResult
sourcepub fn new(transposition_table_size: usize, pawn_hashtable_size: usize) -> Self
pub fn new(transposition_table_size: usize, pawn_hashtable_size: usize) -> Self
Constructs a new instance of AllocationResult with stored transposition_table_size
and pawn_hashtable_size
.
Auto Trait Implementations§
impl RefUnwindSafe for AllocationResult
impl Send for AllocationResult
impl Sync for AllocationResult
impl Unpin for AllocationResult
impl UnwindSafe for AllocationResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more