pub struct IndexedOperation<O>where
O: Debug,{ /* private fields */ }Expand description
An indexed edit operation.
Indexed edit operations are a pairing of an edit operation and the sequence positions when/where the operation was applied. The indexes can be used to simplify external use of the operations. For example, if we are interested in which elements were aligned, then a subsequence of matches
- match 1 2
- match 3 7
- match 4 10
Tells us that indices 1/2, 3/7, and 4/10 of the source/target sequence were aligned.
Implementations§
Trait Implementations§
Source§impl<O> Clone for IndexedOperation<O>
impl<O> Clone for IndexedOperation<O>
Source§fn clone(&self) -> IndexedOperation<O>
fn clone(&self) -> IndexedOperation<O>
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<O> Debug for IndexedOperation<O>
impl<O> Debug for IndexedOperation<O>
Source§impl<O> Hash for IndexedOperation<O>
impl<O> Hash for IndexedOperation<O>
Source§impl<O> PartialEq for IndexedOperation<O>
impl<O> PartialEq for IndexedOperation<O>
impl<O> Eq for IndexedOperation<O>
impl<O> StructuralPartialEq for IndexedOperation<O>where
O: Debug,
Auto Trait Implementations§
impl<O> Freeze for IndexedOperation<O>where
O: Freeze,
impl<O> RefUnwindSafe for IndexedOperation<O>where
O: RefUnwindSafe,
impl<O> Send for IndexedOperation<O>where
O: Send,
impl<O> Sync for IndexedOperation<O>where
O: Sync,
impl<O> Unpin for IndexedOperation<O>where
O: Unpin,
impl<O> UnwindSafe for IndexedOperation<O>where
O: 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