pub struct Steps(pub u32);
Expand description
Can be converted into RunCondition
which returns true
for the first self.0
steps.
This should only be used for debugging and testing as unlike Duration
, ToCompletion
or Depth
,
the total amount of steps needed is not directly indicative of search depth and can change between minor versions.
Tuple Fields§
§0: u32
Trait Implementations§
Source§impl IntoRunCondition for Steps
impl IntoRunCondition for Steps
type RunCondition = InnerSteps
Source§fn into_run_condition(self) -> InnerSteps
fn into_run_condition(self) -> InnerSteps
consumes
self
and returns a RunCondition
.impl Copy for Steps
Auto Trait Implementations§
impl Freeze for Steps
impl RefUnwindSafe for Steps
impl Send for Steps
impl Sync for Steps
impl Unpin for Steps
impl UnwindSafe for Steps
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