pub struct SearchBudget {
pub max_nodes: Option<usize>,
pub max_committed_bytes: Option<usize>,
pub max_distance_evaluations: Option<usize>,
pub max_frontier_entries: Option<usize>,
}Expand description
Deterministic logical search resource limits.
Fields§
§max_nodes: Option<usize>§max_committed_bytes: Option<usize>§max_distance_evaluations: Option<usize>§max_frontier_entries: Option<usize>Implementations§
Trait Implementations§
Source§impl Clone for SearchBudget
impl Clone for SearchBudget
Source§fn clone(&self) -> SearchBudget
fn clone(&self) -> SearchBudget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SearchBudget
impl Debug for SearchBudget
Source§impl Default for SearchBudget
impl Default for SearchBudget
Source§fn default() -> SearchBudget
fn default() -> SearchBudget
Returns the “default value” for a type. Read more
impl Eq for SearchBudget
Source§impl PartialEq for SearchBudget
impl PartialEq for SearchBudget
impl StructuralPartialEq for SearchBudget
Auto Trait Implementations§
impl Freeze for SearchBudget
impl RefUnwindSafe for SearchBudget
impl Send for SearchBudget
impl Sync for SearchBudget
impl Unpin for SearchBudget
impl UnsafeUnpin for SearchBudget
impl UnwindSafe for SearchBudget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more