pub struct RefinementCandidate {
pub region_id: u64,
pub estimated_cost_us: u64,
pub voi_gain: f64,
}Expand description
Candidate optional refinement unit for a region/paragraph bucket.
Fields§
§region_id: u64Deterministic region identifier.
estimated_cost_us: u64Estimated runtime cost for this refinement.
voi_gain: f64Predicted value-of-information gain (higher is better).
Trait Implementations§
Source§impl Clone for RefinementCandidate
impl Clone for RefinementCandidate
Source§fn clone(&self) -> RefinementCandidate
fn clone(&self) -> RefinementCandidate
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 RefinementCandidate
impl Debug for RefinementCandidate
Source§impl PartialEq for RefinementCandidate
impl PartialEq for RefinementCandidate
impl Copy for RefinementCandidate
impl StructuralPartialEq for RefinementCandidate
Auto Trait Implementations§
impl Freeze for RefinementCandidate
impl RefUnwindSafe for RefinementCandidate
impl Send for RefinementCandidate
impl Sync for RefinementCandidate
impl Unpin for RefinementCandidate
impl UnsafeUnpin for RefinementCandidate
impl UnwindSafe for RefinementCandidate
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