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