pub struct SuffixArray<'a, Index>where
Index: ToPrimitive,{ /* private fields */ }
Expand description
A suffix array
Implementations§
Source§impl<'a, Index> SuffixArray<'a, Index>where
Index: ToPrimitive,
impl<'a, Index> SuffixArray<'a, Index>where
Index: ToPrimitive,
Trait Implementations§
Source§impl<'a, Index> StringIndex<'a> for SuffixArray<'a, Index>where
Index: ToPrimitive,
impl<'a, Index> StringIndex<'a> for SuffixArray<'a, Index>where
Index: ToPrimitive,
Source§fn longest_substring_match(&self, needle: &[u8]) -> LongestCommonSubstring<'a>
fn longest_substring_match(&self, needle: &[u8]) -> LongestCommonSubstring<'a>
Returns the longest substring that matches
needle
in textAuto Trait Implementations§
impl<'a, Index> Freeze for SuffixArray<'a, Index>
impl<'a, Index> RefUnwindSafe for SuffixArray<'a, Index>where
Index: RefUnwindSafe,
impl<'a, Index> Send for SuffixArray<'a, Index>where
Index: Send,
impl<'a, Index> Sync for SuffixArray<'a, Index>where
Index: Sync,
impl<'a, Index> Unpin for SuffixArray<'a, Index>where
Index: Unpin,
impl<'a, Index> UnwindSafe for SuffixArray<'a, Index>where
Index: UnwindSafe,
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