pub struct Call<'a, R: BattleRules> {
pub team: &'a Team<R>,
pub power: &'a Power<R>,
pub invocation: &'a Option<Invocation<R>>,
}
Expand description
A call is comprised by a team that invokes a power with a given invocation profile.
Fields§
§team: &'a Team<R>
The team that is invoking the power.
power: &'a Power<R>
The power.
invocation: &'a Option<Invocation<R>>
The invocation profile for the power.
Implementations§
Source§impl<'a, R: BattleRules> Call<'a, R>
impl<'a, R: BattleRules> Call<'a, R>
Auto Trait Implementations§
impl<'a, R> Freeze for Call<'a, R>
impl<'a, R> RefUnwindSafe for Call<'a, R>where
<<R as BattleRules>::TR as TeamRules<R>>::Power: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Invocation: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: RefUnwindSafe,
<<<R as BattleRules>::TR as TeamRules<R>>::Power as Id>::Id: RefUnwindSafe,
impl<'a, R> Send for Call<'a, R>where
<<R as BattleRules>::TR as TeamRules<R>>::Power: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Invocation: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Sync,
<<<R as BattleRules>::TR as TeamRules<R>>::Power as Id>::Id: Sync,
impl<'a, R> Sync for Call<'a, R>where
<<R as BattleRules>::TR as TeamRules<R>>::Power: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Invocation: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Sync,
<<<R as BattleRules>::TR as TeamRules<R>>::Power as Id>::Id: Sync,
impl<'a, R> Unpin for Call<'a, R>
impl<'a, R> UnwindSafe for Call<'a, R>where
<<R as BattleRules>::TR as TeamRules<R>>::Power: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Invocation: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: RefUnwindSafe,
<<<R as BattleRules>::TR as TeamRules<R>>::Power as Id>::Id: RefUnwindSafe,
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