Struct inanis::cache::pawns::PHTableEntry
source · pub struct PHTableEntry {
pub key: AtomicU16,
pub score_opening: AtomicI16,
pub score_ending: AtomicI16,
}
Fields§
§key: AtomicU16
§score_opening: AtomicI16
§score_ending: AtomicI16
Implementations§
source§impl PHTableEntry
impl PHTableEntry
sourcepub fn get_data(&self) -> PHTableResult
pub fn get_data(&self) -> PHTableResult
Loads and parses atomic value into a PHTableResult struct.
Trait Implementations§
source§impl Default for PHTableEntry
impl Default for PHTableEntry
source§fn default() -> Self
fn default() -> Self
Constructs a default instance of PHTableEntry with zeroed elements.
Auto Trait Implementations§
impl RefUnwindSafe for PHTableEntry
impl Send for PHTableEntry
impl Sync for PHTableEntry
impl Unpin for PHTableEntry
impl UnwindSafe for PHTableEntry
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