pub struct SetRelationsTrigger<'a, R, P>where
R: BattleRules,
P: EventProcessor<R>,{ /* private fields */ }
Expand description
Trigger to build and fire a SetRelations
event.
Trait Implementations§
Source§impl<'a, R, P> EventTrigger<'a, R, P> for SetRelationsTrigger<'a, R, P>where
R: BattleRules + 'static,
P: EventProcessor<R>,
impl<'a, R, P> EventTrigger<'a, R, P> for SetRelationsTrigger<'a, R, P>where
R: BattleRules + 'static,
P: EventProcessor<R>,
Source§fn fire(&'a mut self) -> P::ProcessOutput
fn fire(&'a mut self) -> P::ProcessOutput
Fires the event constructed by this builder.
Source§fn prototype(&self) -> EventPrototype<R>
fn prototype(&self) -> EventPrototype<R>
Returns the event constructed by this builder, wrapped in a prototype.
Auto Trait Implementations§
impl<'a, R, P> Freeze for SetRelationsTrigger<'a, R, P>
impl<'a, R, P> RefUnwindSafe for SetRelationsTrigger<'a, R, P>
impl<'a, R, P> Send for SetRelationsTrigger<'a, R, P>where
P: Send,
impl<'a, R, P> Sync for SetRelationsTrigger<'a, R, P>
impl<'a, R, P> Unpin for SetRelationsTrigger<'a, R, P>
impl<'a, R, P> !UnwindSafe for SetRelationsTrigger<'a, R, P>
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