pub struct AlignmentCell<C> {
pub total_cost: C,
pub predecessor: Option<AlignmentMove>,
pub step_cost: Option<C>,
}Expand description
One reachable prefix-grid cell in a full alignment certificate.
Fields§
§total_cost: CMinimum cost of reaching this cell.
predecessor: Option<AlignmentMove>Stable predecessor move, or None at a permitted free start.
step_cost: Option<C>Cost charged by the predecessor move.
Trait Implementations§
Source§impl<C: Clone> Clone for AlignmentCell<C>
impl<C: Clone> Clone for AlignmentCell<C>
Source§fn clone(&self) -> AlignmentCell<C>
fn clone(&self) -> AlignmentCell<C>
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<C: Debug> Debug for AlignmentCell<C>
impl<C: Debug> Debug for AlignmentCell<C>
impl<C: Eq> Eq for AlignmentCell<C>
Source§impl<C: PartialEq> PartialEq for AlignmentCell<C>
impl<C: PartialEq> PartialEq for AlignmentCell<C>
impl<C: PartialEq> StructuralPartialEq for AlignmentCell<C>
Auto Trait Implementations§
impl<C> Freeze for AlignmentCell<C>where
C: Freeze,
impl<C> RefUnwindSafe for AlignmentCell<C>where
C: RefUnwindSafe,
impl<C> Send for AlignmentCell<C>where
C: Send,
impl<C> Sync for AlignmentCell<C>where
C: Sync,
impl<C> Unpin for AlignmentCell<C>where
C: Unpin,
impl<C> UnsafeUnpin for AlignmentCell<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for AlignmentCell<C>where
C: UnwindSafe,
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