pub struct PGN {
pub event: Option<String>,
pub site: Option<String>,
pub date: Option<String>,
pub round: Option<String>,
pub white: Option<String>,
pub black: Option<String>,
pub result: Option<String>,
pub termination: Option<String>,
pub tags: HashMap<String, String>,
pub moves: Option<Rc<RefCell<ChessMove>>>,
}
Fields§
§event: Option<String>
§site: Option<String>
§date: Option<String>
§round: Option<String>
§white: Option<String>
§black: Option<String>
§result: Option<String>
§termination: Option<String>
§moves: Option<Rc<RefCell<ChessMove>>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PGN
impl !RefUnwindSafe for PGN
impl !Send for PGN
impl !Sync for PGN
impl Unpin for PGN
impl !UnwindSafe for PGN
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