pub struct MultipleKthSubstrings<'a, T>{
tree: &'a MultipleSuffixTree<T>,
prefix_distinct: Vec<u64>,
prefix_total: Vec<u64>,
}Fields§
§tree: &'a MultipleSuffixTree<T>§prefix_distinct: Vec<u64>§prefix_total: Vec<u64>Implementations§
Source§impl<'a, T> MultipleKthSubstrings<'a, T>
impl<'a, T> MultipleKthSubstrings<'a, T>
Sourcefn new(tree: &'a MultipleSuffixTree<T>) -> Self
fn new(tree: &'a MultipleSuffixTree<T>) -> Self
pub fn kth_distinct_substring(&self, k: u64) -> Option<(usize, Range<usize>)>
pub fn kth_substring(&self, k: u64) -> Option<(usize, Range<usize>)>
pub fn index_of_distinct_substring( &self, (text_idx, range): (usize, Range<usize>), ) -> u64
pub fn index_of_substring( &self, (text_idx, range): (usize, Range<usize>), ) -> u64
Auto Trait Implementations§
impl<'a, T> Freeze for MultipleKthSubstrings<'a, T>
impl<'a, T> RefUnwindSafe for MultipleKthSubstrings<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MultipleKthSubstrings<'a, T>where
T: Sync,
impl<'a, T> Sync for MultipleKthSubstrings<'a, T>where
T: Sync,
impl<'a, T> Unpin for MultipleKthSubstrings<'a, T>
impl<'a, T> UnsafeUnpin for MultipleKthSubstrings<'a, T>
impl<'a, T> UnwindSafe for MultipleKthSubstrings<'a, T>where
T: RefUnwindSafe,
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