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