pub struct FenRecord {
pub event: Option<String>,
pub white: Option<String>,
pub black: Option<String>,
pub comment: Option<String>,
pub board: Vec<Vec<Option<Piece>>>,
pub active_color: Color,
pub castling: Castlings,
pub en_passant: Option<String>,
pub halfmove_clock: u16,
pub fullmove_number: u16,
}Fields§
§event: Option<String>§white: Option<String>§black: Option<String>§comment: Option<String>§board: Vec<Vec<Option<Piece>>>§active_color: Color§castling: Castlings§en_passant: Option<String>§halfmove_clock: u16§fullmove_number: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for FenRecord
impl RefUnwindSafe for FenRecord
impl Send for FenRecord
impl Sync for FenRecord
impl Unpin for FenRecord
impl UnwindSafe for FenRecord
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