[−][src]Trait rubot::RunCondition
A condition which indicates if Bot::select
should keep on running.
It is recommended to use Duration
for nearly all use cases.
A list of all already implemented RunCondition
s can be found here.
Required methods
fn step(&mut self) -> bool
Called at each search step, instantly stops all calculations by returning false
.
fn depth(&mut self, depth: u32) -> bool
Called after every finished search depth, instantly stops all calculations by returning false
.
Implementations on Foreign Types
impl RunCondition for Instant
[src]
Returns true
while the Instant
is still in the future