pub struct EditAlignment {
pub ops: Vec<EditOp>,
pub counts: EditCounts,
}Expand description
Result of an edit-distance alignment: the optimal script and its counts.
Fields§
§ops: Vec<EditOp>The optimal edit script, ordered source-left to source-right.
counts: EditCountsAggregate operation counts.
Trait Implementations§
Source§impl Clone for EditAlignment
impl Clone for EditAlignment
Source§fn clone(&self) -> EditAlignment
fn clone(&self) -> EditAlignment
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 Debug for EditAlignment
impl Debug for EditAlignment
impl Eq for EditAlignment
Source§impl PartialEq for EditAlignment
impl PartialEq for EditAlignment
Source§fn eq(&self, other: &EditAlignment) -> bool
fn eq(&self, other: &EditAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EditAlignment
Auto Trait Implementations§
impl Freeze for EditAlignment
impl RefUnwindSafe for EditAlignment
impl Send for EditAlignment
impl Sync for EditAlignment
impl Unpin for EditAlignment
impl UnsafeUnpin for EditAlignment
impl UnwindSafe for EditAlignment
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