Enum stockfish_core::core::File
source · #[repr(u8)]
pub enum File {
_A,
_B,
_C,
_D,
_E,
_F,
_G,
_H,
}Expand description
A file, A through H, on a chess board. The variants for this enum are
prefixed with an underscore to mimic those of Rank.
Variants§
Implementations§
Trait Implementations§
source§impl BitAndAssign<File> for Bitboard
impl BitAndAssign<File> for Bitboard
source§const fn bitand_assign(&mut self, rhs: File)
const fn bitand_assign(&mut self, rhs: File)
Performs the
&= operation. Read moresource§impl BitOrAssign<File> for Bitboard
impl BitOrAssign<File> for Bitboard
source§const fn bitor_assign(&mut self, rhs: File)
const fn bitor_assign(&mut self, rhs: File)
Performs the
|= operation. Read moresource§impl BitXorAssign<File> for Bitboard
impl BitXorAssign<File> for Bitboard
source§const fn bitxor_assign(&mut self, rhs: File)
const fn bitxor_assign(&mut self, rhs: File)
Performs the
^= operation. Read moresource§impl IntoIterator for File
impl IntoIterator for File
source§impl Ord for File
impl Ord for File
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<File> for File
impl PartialEq<File> for File
source§impl PartialOrd<File> for File
impl PartialOrd<File> for File
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more