[][src]Struct weasel::round::StartRound

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

Event to make an actor start a new round.

Methods

impl<R: BattleRules> StartRound<R>[src]

pub fn trigger<P: EventProcessor<R>>(
    processor: &mut P,
    id: EntityId<R>
) -> StartRoundTrigger<R, P>
[src]

Returns a trigger for this event.

pub fn id(&self) -> &EntityId<R>[src]

Returns the id of the entity that will start the round.

Trait Implementations

impl<R: BattleRules> Clone for StartRound<R>[src]

impl<R: BattleRules> Debug for StartRound<R>[src]

impl<'de, R: BattleRules> Deserialize<'de> for StartRound<R> where
    EntityId<R>: Deserialize<'de>, 
[src]

impl<R: BattleRules + 'static> Event<R> for StartRound<R>[src]

impl<R: BattleRules> Serialize for StartRound<R> where
    EntityId<R>: Serialize
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for StartRound<R> where
    <<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: RefUnwindSafe

impl<R> Send for StartRound<R> where
    <<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Send

impl<R> Sync for StartRound<R> where
    <<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Sync

impl<R> Unpin for StartRound<R> where
    <<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: Unpin

impl<R> UnwindSafe for StartRound<R> where
    <<R as BattleRules>::CR as CharacterRules<R>>::CreatureId: 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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,