pub struct TurnLog<P: EffectProvider + ?Sized> {
pub events: Vec<TurnEvent<P>>,
}Expand description
An ordered log of TurnEvents for one stack-driven turn.
Fields§
§events: Vec<TurnEvent<P>>The events, in the order they occurred this turn.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for TurnLog<P>where
P: ?Sized,
impl<P> RefUnwindSafe for TurnLog<P>where
<P as BattleProvider>::Move: RefUnwindSafe,
<P as BattleProvider>::Status: RefUnwindSafe,
<P as BattleProvider>::Stat: RefUnwindSafe,
<P as EffectProvider>::EffectStateKind: RefUnwindSafe,
P: ?Sized,
impl<P> Send for TurnLog<P>where
<P as BattleProvider>::Move: Send,
<P as BattleProvider>::Status: Send,
<P as BattleProvider>::Stat: Send,
<P as EffectProvider>::EffectStateKind: Send,
P: ?Sized,
impl<P> Sync for TurnLog<P>where
<P as BattleProvider>::Move: Sync,
<P as BattleProvider>::Status: Sync,
<P as BattleProvider>::Stat: Sync,
<P as EffectProvider>::EffectStateKind: Sync,
P: ?Sized,
impl<P> Unpin for TurnLog<P>where
<P as BattleProvider>::Move: Unpin,
<P as BattleProvider>::Status: Unpin,
<P as BattleProvider>::Stat: Unpin,
<P as EffectProvider>::EffectStateKind: Unpin,
P: ?Sized,
impl<P> UnsafeUnpin for TurnLog<P>where
P: ?Sized,
impl<P> UnwindSafe for TurnLog<P>where
<P as BattleProvider>::Move: UnwindSafe,
<P as BattleProvider>::Status: UnwindSafe,
<P as BattleProvider>::Stat: UnwindSafe,
<P as EffectProvider>::EffectStateKind: UnwindSafe,
P: ?Sized,
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