pub struct Report<R: TurnRules> {
pub outcome: Option<R::Outcome>,
pub turns: u32,
pub commands: Vec<R::Command>,
}Expand description
How a play went.
Fields§
§outcome: Option<R::Outcome>How the game ended; None if the turn limit stopped it first.
turns: u32The turn the game was on when the play stopped: past the limit if the limit stopped it.
commands: Vec<R::Command>Every command applied, in order.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Report<R>
impl<R> RefUnwindSafe for Report<R>
impl<R> Send for Report<R>
impl<R> Sync for Report<R>
impl<R> Unpin for Report<R>
impl<R> UnsafeUnpin for Report<R>
impl<R> UnwindSafe for Report<R>
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