pub fn to_sfen(&self) -> String {
        match *self {
            MoveRecord::Normal {
                from, to, promoted, ..
            } => format!("{}{}{}", from, to, if promoted { "+" } else { "" }),
            MoveRecord::Drop {
                to,
                piece: Piece { piece_type, .. },
            } => format!("{}*{}", piece_type.to_string().to_uppercase(), to),
        }
    }
/// Converts the move into SFEN formatted string.
Converts the move into SFEN formatted string.
Converts the move into SFEN formatted string .
pub fn to_sfen(&self) -> String {
        match *self {
            MoveRecord::Normal {
                from, to, promoted, ..
            } => format!("{}{}{}", from, to, if promoted { "+" } else { "" }),
            MoveRecord::Drop {
                to,
                piece: Piece { piece_type, .. },
            } => format!("{}*{}", piece_type.to_string().to_uppercase(), to),
        }
    }
pub fn to_sfen ( & self ) -> String { match * self { MoveRecord :: Normal { from , to , promoted , .. } => format ! ( " " from to if promoted { " " } else { " " } ) , MoveRecord :: Drop { to , piece : Piece { piece_type , .. } , } => format ! ( " " piece_type to_string ( ) to_uppercase ( ) to ) , } }
Converts the move into SFEN formatted string.
Converts the move into SFEN formatted string .
&self