Struct nekolib_doc::seq::suffix_array::SuffixArray
source · pub struct SuffixArray<T>where
T: Ord,{ /* private fields */ }
Implementations§
source§impl SuffixArray<u8>
impl SuffixArray<u8>
pub fn from_bytes(buf: Vec<u8>) -> SuffixArray<u8>
source§impl SuffixArray<char>
impl SuffixArray<char>
pub fn from_chars(buf: Vec<char>) -> SuffixArray<char>
source§impl SuffixArray<usize>
impl SuffixArray<usize>
pub fn from_hashed(buf: Vec<usize>) -> SuffixArray<usize>
source§impl<T> SuffixArray<T>where
T: Ord,
impl<T> SuffixArray<T>where
T: Ord,
source§impl SuffixArray<char>
impl SuffixArray<char>
pub fn search_str(&self, pat: &str) -> impl Iterator<Item = usize>
Trait Implementations§
source§impl<T> Clone for SuffixArray<T>
impl<T> 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 moresource§impl<T> Debug for SuffixArray<T>
impl<T> Debug for SuffixArray<T>
source§impl<T> From<Vec<T>> for SuffixArray<T>where
T: Ord,
impl<T> From<Vec<T>> for SuffixArray<T>where
T: Ord,
source§fn from(buf: Vec<T>) -> SuffixArray<T>
fn from(buf: Vec<T>) -> SuffixArray<T>
Converts to this type from the input type.
source§impl<T> PartialEq for SuffixArray<T>
impl<T> PartialEq for SuffixArray<T>
impl<T> Eq for SuffixArray<T>
impl<T> StructuralPartialEq for SuffixArray<T>where
T: Ord,
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
)