pub enum PhaseOutcome<Next> {
Advanced(Next),
Cancelled(TurnCancelled),
}Expand description
A phase change either advances or ends the turn at the boundary. Exhaustive, as every enum in this workspace is: a new outcome must force every executor to decide, not fall through a catch-all.
Variants§
Advanced(Next)
Cancelled(TurnCancelled)
Trait Implementations§
Auto Trait Implementations§
impl<Next> Freeze for PhaseOutcome<Next>where
Next: Freeze,
impl<Next> RefUnwindSafe for PhaseOutcome<Next>where
Next: RefUnwindSafe,
impl<Next> Send for PhaseOutcome<Next>where
Next: Send,
impl<Next> Sync for PhaseOutcome<Next>where
Next: Sync,
impl<Next> Unpin for PhaseOutcome<Next>where
Next: Unpin,
impl<Next> UnsafeUnpin for PhaseOutcome<Next>where
Next: UnsafeUnpin,
impl<Next> UnwindSafe for PhaseOutcome<Next>where
Next: UnwindSafe,
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