pub struct StackTurnResult {
pub first: FirstMover,
pub second_cancelled: bool,
}Expand description
The outcome of one stack-driven turn.
Fields§
§first: FirstMoverWho moved first.
second_cancelled: boolWhether the second mover’s action was cancelled (first-mover faint or the move KO’d the defender — design §2 step 2d).
Trait Implementations§
Source§impl Clone for StackTurnResult
impl Clone for StackTurnResult
Source§fn clone(&self) -> StackTurnResult
fn clone(&self) -> StackTurnResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StackTurnResult
Source§impl Debug for StackTurnResult
impl Debug for StackTurnResult
impl Eq for StackTurnResult
Source§impl PartialEq for StackTurnResult
impl PartialEq for StackTurnResult
impl StructuralPartialEq for StackTurnResult
Auto Trait Implementations§
impl Freeze for StackTurnResult
impl RefUnwindSafe for StackTurnResult
impl Send for StackTurnResult
impl Sync for StackTurnResult
impl Unpin for StackTurnResult
impl UnsafeUnpin for StackTurnResult
impl UnwindSafe for StackTurnResult
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