Struct inanis::cache::perft::PerftHashTableEntry
source · pub struct PerftHashTableEntry {
pub key: AtomicU64,
pub data: AtomicU64,
}
Fields§
§key: AtomicU64
§data: AtomicU64
Trait Implementations§
source§impl Clone for PerftHashTableEntry
impl Clone for PerftHashTableEntry
source§fn clone(&self) -> Self
fn clone(&self) -> Self
Clones PerftHashTableEntry by creating a new atomics (with the original values).
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PerftHashTableEntry
impl Default for PerftHashTableEntry
source§fn default() -> Self
fn default() -> Self
Constructs a default instance of PerftHashTableEntry with zeroed elements.
Auto Trait Implementations§
impl RefUnwindSafe for PerftHashTableEntry
impl Send for PerftHashTableEntry
impl Sync for PerftHashTableEntry
impl Unpin for PerftHashTableEntry
impl UnwindSafe for PerftHashTableEntry
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