pub struct FEN { /* private fields */ }Implementations§
Source§impl FEN
impl FEN
pub fn pos64(&self) -> Pos64
pub fn side(&self) -> PieceColour
pub fn movegen_flags(&self) -> MovegenFlags
pub fn halfmove_count(&self) -> u32
pub fn move_count(&self) -> u32
Trait Implementations§
Source§impl From<&BoardState> for FEN
impl From<&BoardState> for FEN
Source§fn from(board_state: &BoardState) -> Self
fn from(board_state: &BoardState) -> Self
Converts to this type from the input type.
Source§impl From<FEN> for BoardState
impl From<FEN> for BoardState
impl Copy for FEN
Auto Trait Implementations§
impl Freeze for FEN
impl RefUnwindSafe for FEN
impl Send for FEN
impl Sync for FEN
impl Unpin for FEN
impl UnwindSafe for FEN
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