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