pub struct LCSStr {}Expand description
The length of the Longest common substring.
A longest common substring of two or more strings is a longest string that is a substring of all of them.
Trait Implementations§
Source§impl Algorithm<usize> for LCSStr
impl Algorithm<usize> for LCSStr
Source§fn for_vec<E: Eq>(&self, s1: &[E], s2: &[E]) -> Result<usize>
fn for_vec<E: Eq>(&self, s1: &[E], s2: &[E]) -> Result<usize>
Calculate distance/similarity for vectors. Read more
Source§fn for_iter<C, E>(&self, s1: C, s2: C) -> Result<R>
fn for_iter<C, E>(&self, s1: C, s2: C) -> Result<R>
Calculate distance/similarity for iterators. Read more
Source§fn for_str(&self, s1: &str, s2: &str) -> Result<R>
fn for_str(&self, s1: &str, s2: &str) -> Result<R>
Calculate distance/similarity for strings. Read more
Auto Trait Implementations§
impl Freeze for LCSStr
impl RefUnwindSafe for LCSStr
impl Send for LCSStr
impl Sync for LCSStr
impl Unpin for LCSStr
impl UnwindSafe for LCSStr
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