pub struct Position {
pub pieces: Pieces,
pub turn: Player,
pub castles: Castles,
pub en_passant: Option<File>,
pub round: NonZeroU32,
}Fields§
§pieces: Pieces§turn: Player§castles: Castles§en_passant: Option<File>§round: NonZeroU32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnsafeUnpin for Position
impl UnwindSafe for Position
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