[−][src]Struct weasel::battle::BattleState
Owns he battle submodules that contain the current state of the battle.
Implementations
impl<R: BattleRules> BattleState<R>
[src]
pub fn entities(&self) -> &Entities<R>
[src]
Returns the entities manager for this battle.
pub fn space(&self) -> &Space<R>
[src]
Returns this battle's space representation.
pub fn rounds(&self) -> &Rounds<R>
[src]
Returns the rounds manager for this battle.
pub fn phase(&self) -> BattlePhase
[src]
Returns in which phase is the battle.
Auto Trait Implementations
impl<R> RefUnwindSafe for BattleState<R> where
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + RefUnwindSafe,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: RefUnwindSafe,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: RefUnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: RefUnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: RefUnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: RefUnwindSafe,
<R as BattleRules>::RR: RefUnwindSafe,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: RefUnwindSafe,
<R as BattleRules>::SR: RefUnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + RefUnwindSafe,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + RefUnwindSafe,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: RefUnwindSafe,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: RefUnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: RefUnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: RefUnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: RefUnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: RefUnwindSafe,
<R as BattleRules>::RR: RefUnwindSafe,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: RefUnwindSafe,
<R as BattleRules>::SR: RefUnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + RefUnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + RefUnwindSafe,
<R as BattleRules>::TR: TeamRules<R>,
impl<R> Send for BattleState<R> where
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Send,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Send,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Send,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Send,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Send,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Send,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Send,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Send,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Send,
<R as BattleRules>::RR: Send,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Send,
<R as BattleRules>::SR: Send,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Send,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Send,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Send,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Send,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Send,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Send,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Send,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Send,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Send,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Send,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Send,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Send,
<R as BattleRules>::RR: Send,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Send,
<R as BattleRules>::SR: Send,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Send,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Send,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Send,
<R as BattleRules>::TR: TeamRules<R>,
impl<R> Sync for BattleState<R> where
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Sync,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Sync,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Sync,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Sync,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Sync,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Sync,
<R as BattleRules>::RR: Sync,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Sync,
<R as BattleRules>::SR: Sync,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Sync,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Sync,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Sync,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Sync,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Sync,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Sync,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Sync,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Sync,
<R as BattleRules>::RR: Sync,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Sync,
<R as BattleRules>::SR: Sync,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Sync,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Sync,
<R as BattleRules>::TR: TeamRules<R>,
impl<R> Unpin for BattleState<R> where
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Unpin,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Unpin,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Unpin,
<R as BattleRules>::RR: Unpin,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Unpin,
<R as BattleRules>::SR: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Unpin,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + Unpin,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Unpin,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: Unpin,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Id: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: Unpin,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: Unpin,
<R as BattleRules>::RR: Unpin,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: Unpin,
<R as BattleRules>::SR: Unpin,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Unpin,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Unpin,
<R as BattleRules>::TR: TeamRules<R>,
impl<R> UnwindSafe for BattleState<R> where
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + UnwindSafe,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: UnwindSafe,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: UnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: UnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: UnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: UnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: UnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: UnwindSafe,
<R as BattleRules>::RR: UnwindSafe,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: UnwindSafe,
<R as BattleRules>::SR: UnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + UnwindSafe,
<R as BattleRules>::TR: TeamRules<R>,
<R as BattleRules>::AR: ActorRules<R>,
<<R as BattleRules>::AR as ActorRules<R>>::Ability: Id + UnwindSafe,
<R as BattleRules>::CR: CharacterRules<R>,
<<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: UnwindSafe,
<<<R as BattleRules>::AR as ActorRules<R>>::Ability as Id>::Id: UnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Statistic as Id>::Id: UnwindSafe,
<<<R as BattleRules>::CR as CharacterRules<R>>::Status as Id>::Id: UnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Id: UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::ObjectId: UnwindSafe,
<<R as BattleRules>::TR as TeamRules<R>>::Objectives: UnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::Position: UnwindSafe,
<R as BattleRules>::RR: UnwindSafe,
<<R as BattleRules>::RR as RoundsRules<R>>::RoundsModel: UnwindSafe,
<R as BattleRules>::SR: UnwindSafe,
<<R as BattleRules>::SR as SpaceRules<R>>::SpaceModel: UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + UnwindSafe,
<<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + UnwindSafe,
<R as BattleRules>::TR: TeamRules<R>,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,