Struct suffix_array::SuffixArray
source · pub struct SuffixArray<T: Ord> { /* private fields */ }
Implementations§
source§impl SuffixArray<u8>
impl SuffixArray<u8>
pub fn from_bytes(buf: Vec<u8>) -> Self
source§impl SuffixArray<char>
impl SuffixArray<char>
pub fn from_chars(buf: Vec<char>) -> Self
source§impl SuffixArray<usize>
impl SuffixArray<usize>
pub fn from_hashed(buf: Vec<usize>) -> Self
source§impl<T: Ord> SuffixArray<T>
impl<T: Ord> SuffixArray<T>
source§impl SuffixArray<char>
impl SuffixArray<char>
pub fn search_str(&self, pat: &str) -> impl Iterator<Item = usize> + '_
Trait Implementations§
source§impl<T: Clone + Ord> Clone for SuffixArray<T>
impl<T: Clone + Ord> Clone for SuffixArray<T>
source§fn clone(&self) -> SuffixArray<T>
fn clone(&self) -> SuffixArray<T>
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 moreimpl<T: Eq + Ord> Eq for SuffixArray<T>
impl<T: Ord> StructuralPartialEq for SuffixArray<T>
Auto Trait Implementations§
impl<T> Freeze for SuffixArray<T>
impl<T> RefUnwindSafe for SuffixArray<T>where
T: RefUnwindSafe,
impl<T> Send for SuffixArray<T>where
T: Send,
impl<T> Sync for SuffixArray<T>where
T: Sync,
impl<T> Unpin for SuffixArray<T>where
T: Unpin,
impl<T> UnwindSafe for SuffixArray<T>where
T: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)