pub struct AlgorithmWorkCosts {
pub cell: u64,
pub edge: u64,
}Expand description
Work charged for one dynamic-programming cell and one examined edge.
Fields§
§cell: u64Work units charged before evaluating a table cell.
edge: u64Work units charged before examining a transition or residual edge.
Trait Implementations§
Source§impl Clone for AlgorithmWorkCosts
impl Clone for AlgorithmWorkCosts
Source§fn clone(&self) -> AlgorithmWorkCosts
fn clone(&self) -> AlgorithmWorkCosts
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 moreimpl Copy for AlgorithmWorkCosts
Source§impl Debug for AlgorithmWorkCosts
impl Debug for AlgorithmWorkCosts
Source§impl Default for AlgorithmWorkCosts
impl Default for AlgorithmWorkCosts
impl Eq for AlgorithmWorkCosts
Source§impl PartialEq for AlgorithmWorkCosts
impl PartialEq for AlgorithmWorkCosts
impl StructuralPartialEq for AlgorithmWorkCosts
Auto Trait Implementations§
impl Freeze for AlgorithmWorkCosts
impl RefUnwindSafe for AlgorithmWorkCosts
impl Send for AlgorithmWorkCosts
impl Sync for AlgorithmWorkCosts
impl Unpin for AlgorithmWorkCosts
impl UnsafeUnpin for AlgorithmWorkCosts
impl UnwindSafe for AlgorithmWorkCosts
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