Struct shakmaty::zobrist::Zobrist128
source · pub struct Zobrist128(pub u128);
Expand description
A ZobristValue
with
128
bits.
Tuple Fields§
§0: u128
Trait Implementations§
source§impl Binary for Zobrist128
impl Binary for Zobrist128
source§impl BitXor<&Zobrist128> for &Zobrist128
impl BitXor<&Zobrist128> for &Zobrist128
§type Output = Zobrist128
type Output = Zobrist128
The resulting type after applying the
^
operator.source§fn bitxor(self, other: &Zobrist128) -> Zobrist128
fn bitxor(self, other: &Zobrist128) -> Zobrist128
Performs the
^
operation. Read moresource§impl BitXor<&Zobrist128> for Zobrist128
impl BitXor<&Zobrist128> for Zobrist128
§type Output = Zobrist128
type Output = Zobrist128
The resulting type after applying the
^
operator.source§fn bitxor(self, other: &Zobrist128) -> Zobrist128
fn bitxor(self, other: &Zobrist128) -> Zobrist128
Performs the
^
operation. Read moresource§impl BitXor<Zobrist128> for &Zobrist128
impl BitXor<Zobrist128> for &Zobrist128
§type Output = Zobrist128
type Output = Zobrist128
The resulting type after applying the
^
operator.source§fn bitxor(self, other: Zobrist128) -> Zobrist128
fn bitxor(self, other: Zobrist128) -> Zobrist128
Performs the
^
operation. Read moresource§impl BitXor for Zobrist128
impl BitXor for Zobrist128
§type Output = Zobrist128
type Output = Zobrist128
The resulting type after applying the
^
operator.source§fn bitxor(self, other: Zobrist128) -> Zobrist128
fn bitxor(self, other: Zobrist128) -> Zobrist128
Performs the
^
operation. Read moresource§impl BitXorAssign<&Zobrist128> for Zobrist128
impl BitXorAssign<&Zobrist128> for Zobrist128
source§fn bitxor_assign(&mut self, rhs: &Zobrist128)
fn bitxor_assign(&mut self, rhs: &Zobrist128)
Performs the
^=
operation. Read moresource§impl BitXorAssign for Zobrist128
impl BitXorAssign for Zobrist128
source§fn bitxor_assign(&mut self, rhs: Zobrist128)
fn bitxor_assign(&mut self, rhs: Zobrist128)
Performs the
^=
operation. Read moresource§impl Clone for Zobrist128
impl Clone for Zobrist128
source§fn clone(&self) -> Zobrist128
fn clone(&self) -> Zobrist128
Returns a copy of the value. Read more
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 Debug for Zobrist128
impl Debug for Zobrist128
source§impl Default for Zobrist128
impl Default for Zobrist128
source§fn default() -> Zobrist128
fn default() -> Zobrist128
Returns the “default value” for a type. Read more
source§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 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 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 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 From<Zobrist128> for u128
impl From<Zobrist128> for u128
source§fn from(value: Zobrist128) -> u128
fn from(value: Zobrist128) -> u128
Converts to this type from the input type.
source§impl From<u128> for Zobrist128
impl From<u128> for Zobrist128
source§fn from(value: u128) -> Zobrist128
fn from(value: u128) -> Zobrist128
Converts to this type from the input type.
source§impl Hash for Zobrist128
impl Hash for Zobrist128
source§impl LowerHex for Zobrist128
impl LowerHex for Zobrist128
source§impl Octal for Zobrist128
impl Octal for Zobrist128
source§impl PartialEq for Zobrist128
impl PartialEq for Zobrist128
source§fn eq(&self, other: &Zobrist128) -> bool
fn eq(&self, other: &Zobrist128) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for Zobrist128
impl UpperHex for Zobrist128
source§impl ZobristValue for Zobrist128
impl ZobristValue for Zobrist128
fn zobrist_for_piece(square: Square, piece: Piece) -> Zobrist128
fn zobrist_for_white_turn() -> Zobrist128
fn zobrist_for_castling_right(color: Color, side: CastlingSide) -> Zobrist128
fn zobrist_for_en_passant_file(file: File) -> Zobrist128
fn zobrist_for_remaining_checks( color: Color, remaining: RemainingChecks ) -> Zobrist128
fn zobrist_for_promoted(square: Square) -> Zobrist128
fn zobrist_for_pocket(color: Color, role: Role, pieces: u8) -> Zobrist128
impl Copy for Zobrist128
impl Eq for Zobrist128
impl IsEnabled for Zobrist128
Available on crate feature
nohash-hasher
only.Auto Trait Implementations§
impl Freeze for Zobrist128
impl RefUnwindSafe for Zobrist128
impl Send for Zobrist128
impl Sync for Zobrist128
impl Unpin for Zobrist128
impl UnwindSafe for Zobrist128
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