pub struct TurnState {
pub number: u32,
pub active_player: PlayerId,
pub priority_player: PlayerId,
pub phase: PhaseId,
pub step: StepId,
pub priority_passes: u32,
}Fields§
§number: u32§active_player: PlayerId§priority_player: PlayerId§phase: PhaseId§step: StepId§priority_passes: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnState
impl RefUnwindSafe for TurnState
impl Send for TurnState
impl Sync for TurnState
impl Unpin for TurnState
impl UnwindSafe for TurnState
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