pub struct WorkCounts {
pub candidates: u32,
pub queries: u32,
pub path_steps: u32,
pub deferred_candidates: u32,
pub deferred_queries: u32,
}Expand description
Shared per-tick allowances. Counts include rejected work attempts; actual navigation work is charged only after the incremental search consumes it.
Fields§
§candidates: u32§queries: u32§path_steps: u32§deferred_candidates: u32§deferred_queries: u32Trait Implementations§
Source§impl Clone for WorkCounts
impl Clone for WorkCounts
Source§fn clone(&self) -> WorkCounts
fn clone(&self) -> WorkCounts
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkCounts
impl Debug for WorkCounts
Source§impl Default for WorkCounts
impl Default for WorkCounts
Source§fn default() -> WorkCounts
fn default() -> WorkCounts
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkCounts
impl PartialEq for WorkCounts
impl Copy for WorkCounts
impl Eq for WorkCounts
impl StructuralPartialEq for WorkCounts
Auto Trait Implementations§
impl Freeze for WorkCounts
impl RefUnwindSafe for WorkCounts
impl Send for WorkCounts
impl Sync for WorkCounts
impl Unpin for WorkCounts
impl UnwindSafe for WorkCounts
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