pub enum DistanceMethods {
Hamming,
Levenshtein,
DamerauLevenshtein,
JaroWinkler,
SmithWaterman,
RatcliffObershelp,
LCSSeq,
LCSStr,
Jaccard,
Entropy,
}Variants§
Hamming
Hamming edit distance
Levenshtein
Levenshtein edit distance
DamerauLevenshtein
Damerau-Levenshtein edit distance
JaroWinkler
Jaro-Winkler edit distance
SmithWaterman
Smith-Waterman edit distance
RatcliffObershelp
Ratcliff-Obershelp/Gestalt pattern matching sequence-based distance
LCSSeq
Longest Common SubSequence distance
LCSStr
Longest Common SubString
Jaccard
Jaccard token/kmer-based distance
Entropy
Entropy normalized compression distance
Trait Implementations§
Source§impl Clone for DistanceMethods
impl Clone for DistanceMethods
Source§fn clone(&self) -> DistanceMethods
fn clone(&self) -> DistanceMethods
Returns a copy 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 Debug for DistanceMethods
impl Debug for DistanceMethods
Source§impl Display for DistanceMethods
impl Display for DistanceMethods
Source§impl PartialEq for DistanceMethods
impl PartialEq for DistanceMethods
Source§impl ValueEnum for DistanceMethods
impl ValueEnum for DistanceMethods
impl StructuralPartialEq for DistanceMethods
Auto Trait Implementations§
impl Freeze for DistanceMethods
impl RefUnwindSafe for DistanceMethods
impl Send for DistanceMethods
impl Sync for DistanceMethods
impl Unpin for DistanceMethods
impl UnwindSafe for DistanceMethods
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