pub struct Position {
pub drop_pieces: Vec<(Square, PieceType)>,
pub bulk: Option<[[Option<(Color, PieceType)>; 9]; 9]>,
pub add_pieces: Vec<(Color, Square, PieceType)>,
pub side_to_move: Color,
}
Fields
drop_pieces: Vec<(Square, PieceType)>
bulk: Option<[[Option<(Color, PieceType)>; 9]; 9]>
add_pieces: Vec<(Color, Square, PieceType)>
side_to_move: Color
Trait Implementations
impl Eq for Position
impl StructuralEq for Position
impl StructuralPartialEq for Position
Auto Trait Implementations
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more