pub enum OnFalseAst {
Cancel,
RetryAfter {
turns: usize,
},
RetryNextTurn,
}Expand description
Policy to apply when a scheduled condition evaluates to false at fire time.
Variants§
Cancel
Drop the scheduled event entirely.
RetryAfter
Reschedule the event the specified number of turns ahead.
RetryNextTurn
Reschedule the event for the very next turn.
Trait Implementations§
Source§impl Clone for OnFalseAst
impl Clone for OnFalseAst
Source§fn clone(&self) -> OnFalseAst
fn clone(&self) -> OnFalseAst
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OnFalseAst
impl Debug for OnFalseAst
Source§impl PartialEq for OnFalseAst
impl PartialEq for OnFalseAst
impl StructuralPartialEq for OnFalseAst
Auto Trait Implementations§
impl Freeze for OnFalseAst
impl RefUnwindSafe for OnFalseAst
impl Send for OnFalseAst
impl Sync for OnFalseAst
impl Unpin for OnFalseAst
impl UnwindSafe for OnFalseAst
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