Struct vec_vp_tree::dist::string::Levenshtein [] [src]

pub struct Levenshtein;

Levenshtein distance (edit-distance) function for strings.

Returns the the minimum number of insertions, deletions, and substitutions required to change one string into the other.

Trait Implementations

impl Copy for Levenshtein
[src]

impl Clone for Levenshtein
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> DistFn<&'a str> for Levenshtein
[src]

Return the distance between left and right. Read more

impl DistFn<String> for Levenshtein
[src]

Return the distance between left and right. Read more