[][src]Struct weasel::creature::Creature

pub struct Creature<R: BattleRules> { /* fields omitted */ }

A creature is the main acting entity of a battle.

Creatures can activate abilities during their round, occupy a spatial position, suffer status effects and are characterized by their statistics.

Trait Implementations

impl<R: BattleRules> Actor<R> for Creature<R>[src]

impl<R: BattleRules> Character<R> for Creature<R>[src]

impl<R: BattleRules> Entity<R> for Creature<R>[src]

impl<R: BattleRules> Id for Creature<R>[src]

type Id = CreatureId<R>

Type of the id value.

Auto Trait Implementations

impl<R> RefUnwindSafe for Creature<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>::SR as SpaceRules<R>>::Position: RefUnwindSafe,
    <<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + RefUnwindSafe,
    <<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + RefUnwindSafe

impl<R> Send for Creature<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>::SR as SpaceRules<R>>::Position: Send,
    <<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Send,
    <<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Send

impl<R> Sync for Creature<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>::SR as SpaceRules<R>>::Position: Sync,
    <<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Sync,
    <<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Sync

impl<R> Unpin for Creature<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>::SR as SpaceRules<R>>::Position: Unpin,
    <<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + Unpin,
    <<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + Unpin

impl<R> UnwindSafe for Creature<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>::SR as SpaceRules<R>>::Position: UnwindSafe,
    <<R as BattleRules>::CR as CharacterRules<R>>::Statistic: Id + UnwindSafe,
    <<R as BattleRules>::CR as CharacterRules<R>>::Status: Id + UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,