[−][src]Trait weasel::event::EventProcessor
A trait for objects that can process new local events.
Associated Types
type ProcessOutput: DefaultOutput<R>
Return type for this processor's process()
.
Required methods
fn process(&mut self, event: EventPrototype<R>) -> Self::ProcessOutput
Processes a local event prototype.
Implementations on Foreign Types
impl<R, T, '_> EventProcessor<R> for &'_ mut Option<T> where
R: BattleRules,
T: EventProcessor<R>,
[src]
R: BattleRules,
T: EventProcessor<R>,
type ProcessOutput = T::ProcessOutput
fn process(&mut self, event: EventPrototype<R>) -> Self::ProcessOutput
[src]
impl<R, T> EventProcessor<R> for Option<T> where
R: BattleRules,
T: EventProcessor<R>,
[src]
R: BattleRules,
T: EventProcessor<R>,
type ProcessOutput = T::ProcessOutput
fn process(&mut self, event: EventPrototype<R>) -> Self::ProcessOutput
[src]
impl<R> EventProcessor<R> for () where
R: BattleRules,
[src]
R: BattleRules,
type ProcessOutput = WeaselResult<(), R>
fn process(&mut self, _: EventPrototype<R>) -> Self::ProcessOutput
[src]
Implementors
impl<R, '_> EventProcessor<R> for LinkedQueue<'_, R> where
R: BattleRules,
[src]
R: BattleRules,
type ProcessOutput = ()
fn process(&mut self, event: EventPrototype<R>) -> Self::ProcessOutput
[src]
impl<R, '_> EventProcessor<R> for Prioritized<'_, R> where
R: BattleRules,
[src]
R: BattleRules,