Struct seqalign::measures::LevenshteinDamerau
source · [−]pub struct LevenshteinDamerau { /* private fields */ }
Expand description
Levenshtein-Damerau distance.
Levenshtein-Damerau distance uses the following operations:
- Insert
- Delete
- Substitute
- Match
- Transpose (xy -> yx)
Implementations
Trait Implementations
sourceimpl Clone for LevenshteinDamerau
impl Clone for LevenshteinDamerau
sourcefn clone(&self) -> LevenshteinDamerau
fn clone(&self) -> LevenshteinDamerau
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 Debug for LevenshteinDamerau
impl Debug for LevenshteinDamerau
sourceimpl<T> Measure<T> for LevenshteinDamerau where
T: Eq,
impl<T> Measure<T> for LevenshteinDamerau where
T: Eq,
type Operation = LevenshteinDamerauOp
type Operation = LevenshteinDamerauOp
The edit operations associated with the measure.
sourcefn operations(&self) -> &[Self::Operation]
fn operations(&self) -> &[Self::Operation]
Get a slice with the measure’s operations. Typically, this contains
all the enum variants of the associated type Operation
. Read more
Auto Trait Implementations
impl RefUnwindSafe for LevenshteinDamerau
impl Send for LevenshteinDamerau
impl Sync for LevenshteinDamerau
impl Unpin for LevenshteinDamerau
impl UnwindSafe for LevenshteinDamerau
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