pub enum Reaction {
SameTick,
NextTick,
}Expand description
When the agent may react to an observation of a contingent point.
Variants§
SameTick
An observation at tick t may influence executions at t (the crate’s semantics).
NextTick
An observation at tick t may only influence executions from t + 1 on: decisions
at t see contingent events strictly before t.
Trait Implementations§
impl Copy for Reaction
impl Eq for Reaction
impl StructuralPartialEq for Reaction
Auto Trait Implementations§
impl Forget for Reaction
impl Freeze for Reaction
impl Move for Reaction
impl RefUnwindSafe for Reaction
impl Send for Reaction
impl Sync for Reaction
impl Unpin for Reaction
impl UnsafeUnpin for Reaction
impl UnwindSafe for Reaction
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