pub struct OuterSolution {
pub inner_idx: usize,
pub n_lookups: usize,
pub n_extra_ops: usize,
pub cost: usize,
}Expand description
A solution wrapping an InnerSolution with OuterLayer’s arithmetic.
Fields§
§inner_idx: usizeIndex of the InnerSolution this wraps (in the chain’s solutions vec).
n_lookups: usize§n_extra_ops: usize§cost: usizeImplementations§
Trait Implementations§
Source§impl Clone for OuterSolution
impl Clone for OuterSolution
Source§fn clone(&self) -> OuterSolution
fn clone(&self) -> OuterSolution
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 moreAuto Trait Implementations§
impl Freeze for OuterSolution
impl RefUnwindSafe for OuterSolution
impl Send for OuterSolution
impl Sync for OuterSolution
impl Unpin for OuterSolution
impl UnsafeUnpin for OuterSolution
impl UnwindSafe for OuterSolution
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