pub struct Move {
pub player: Player,
pub vertex: Option<Vertex>,
}Expand description
Includes a player and a location on the board, or None for pass.
Fields§
§player: PlayerThe player taking the move.
vertex: Option<Vertex>A coordinate on the Go board.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Move
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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