Struct chess_pgn_parser::GameMove
[−]
[src]
pub struct GameMove { pub number: Option<MoveNumber>, pub move_: MarkedMove, pub nag: Option<NAG>, pub comment: Option<String>, pub variations: Vec<MoveSequence>, }
Fields
number: Option<MoveNumber>
move_: MarkedMove
nag: Option<NAG>
comment: Option<String>
variations: Vec<MoveSequence>
Methods
impl GameMove
[src]
fn nag(&self, value: NAG) -> GameMove
fn comment(&self, value: String) -> GameMove
fn with_variations(&self, variations: Vec<MoveSequence>) -> GameMove
Trait Implementations
impl PartialEq for GameMove
[src]
fn eq(&self, __arg_0: &GameMove) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GameMove) -> bool
This method tests for !=
.
impl Eq for GameMove
[src]
impl Debug for GameMove
[src]
impl Clone for GameMove
[src]
fn clone(&self) -> GameMove
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more