pub struct JaroWinkler;
Expand description
Distance function for strings using the Jaro similarity factor, optimized for when strings are expected to have a common prefix.
Returns a number in [0, 100]
, inversely proportional to the similarity between
the two strings, where 0 is exactly the same, and 100 is not at all similar.
Trait Implementations§
Source§impl Clone for JaroWinkler
impl Clone for JaroWinkler
Source§fn clone(&self) -> JaroWinkler
fn clone(&self) -> JaroWinkler
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<'a> DistFn<&'a str> for JaroWinkler
impl<'a> DistFn<&'a str> for JaroWinkler
Source§impl DistFn<String> for JaroWinkler
impl DistFn<String> for JaroWinkler
impl Copy for JaroWinkler
Auto Trait Implementations§
impl Freeze for JaroWinkler
impl RefUnwindSafe for JaroWinkler
impl Send for JaroWinkler
impl Sync for JaroWinkler
impl Unpin for JaroWinkler
impl UnwindSafe for JaroWinkler
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