Struct seqalign::op::IndexedOperation
source · [−]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
sourceimpl<O: Clone> Clone for IndexedOperation<O> where
O: Debug,
impl<O: Clone> Clone for IndexedOperation<O> where
O: Debug,
sourcefn clone(&self) -> IndexedOperation<O>
fn clone(&self) -> IndexedOperation<O>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<O: Debug> Debug for IndexedOperation<O> where
O: Debug,
impl<O: Debug> Debug for IndexedOperation<O> where
O: Debug,
sourceimpl<O: Hash> Hash for IndexedOperation<O> where
O: Debug,
impl<O: Hash> Hash for IndexedOperation<O> where
O: Debug,
sourceimpl<O: PartialEq> PartialEq<IndexedOperation<O>> for IndexedOperation<O> where
O: Debug,
impl<O: PartialEq> PartialEq<IndexedOperation<O>> for IndexedOperation<O> where
O: Debug,
sourcefn eq(&self, other: &IndexedOperation<O>) -> bool
fn eq(&self, other: &IndexedOperation<O>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<O: Eq> Eq for IndexedOperation<O> where
O: Debug,
impl<O> StructuralEq for IndexedOperation<O> where
O: Debug,
impl<O> StructuralPartialEq for IndexedOperation<O> where
O: Debug,
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more