pub struct TurnCountDetector { /* private fields */ }Expand description
Fires when a state-based condition is true for required consecutive
evaluations (typically one evaluation per turn).
The caller decides when to invoke check() — usually on TurnComplete
events.
Implementations§
Trait Implementations§
Source§impl PatternDetector for TurnCountDetector
impl PatternDetector for TurnCountDetector
Auto Trait Implementations§
impl !Freeze for TurnCountDetector
impl !RefUnwindSafe for TurnCountDetector
impl Send for TurnCountDetector
impl Sync for TurnCountDetector
impl Unpin for TurnCountDetector
impl !UnwindSafe for TurnCountDetector
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