pub struct Zobrist64(pub u64);
Expand description
A ZobristValue
with
64
bits.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl BitXorAssign<&Zobrist64> for Zobrist64
impl BitXorAssign<&Zobrist64> for Zobrist64
source§fn bitxor_assign(&mut self, rhs: &Zobrist64)
fn bitxor_assign(&mut self, rhs: &Zobrist64)
Performs the
^=
operation. Read moresource§impl BitXorAssign for Zobrist64
impl BitXorAssign for Zobrist64
source§fn bitxor_assign(&mut self, rhs: Zobrist64)
fn bitxor_assign(&mut self, rhs: Zobrist64)
Performs the
^=
operation. Read moresource§impl From<Zobrist128> for Zobrist64
impl From<Zobrist128> for Zobrist64
source§fn from(value: Zobrist128) -> Zobrist64
fn from(value: Zobrist128) -> Zobrist64
Converts to this type from the input type.
source§impl PartialEq for Zobrist64
impl PartialEq for Zobrist64
source§impl ZobristValue for Zobrist64
impl ZobristValue for Zobrist64
fn zobrist_for_piece(square: Square, piece: Piece) -> Zobrist64
fn zobrist_for_white_turn() -> Zobrist64
fn zobrist_for_castling_right(color: Color, side: CastlingSide) -> Zobrist64
fn zobrist_for_en_passant_file(file: File) -> Zobrist64
fn zobrist_for_remaining_checks( color: Color, remaining: RemainingChecks ) -> Zobrist64
fn zobrist_for_promoted(square: Square) -> Zobrist64
fn zobrist_for_pocket(color: Color, role: Role, pieces: u8) -> Zobrist64
impl Copy for Zobrist64
impl Eq for Zobrist64
impl IsEnabled for Zobrist64
Available on crate feature
nohash-hasher
only.Auto Trait Implementations§
impl Freeze for Zobrist64
impl RefUnwindSafe for Zobrist64
impl Send for Zobrist64
impl Sync for Zobrist64
impl Unpin for Zobrist64
impl UnwindSafe for Zobrist64
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