pub struct SuffixArray {
pub sa: Vec<u32>,
pub lcp: Vec<u32>,
pub n: u32,
}Expand description
Suffix array + LCP array for a text of length n.
Fields§
§sa: Vec<u32>§lcp: Vec<u32>§n: u32Implementations§
Trait Implementations§
Source§impl Clone for SuffixArray
impl Clone for SuffixArray
Source§impl Debug for SuffixArray
impl Debug for SuffixArray
Source§impl Default for SuffixArray
impl Default for SuffixArray
impl Eq for SuffixArray
Source§impl PartialEq for SuffixArray
impl PartialEq for SuffixArray
impl StructuralPartialEq for SuffixArray
Auto Trait Implementations§
impl Freeze for SuffixArray
impl RefUnwindSafe for SuffixArray
impl Send for SuffixArray
impl Sync for SuffixArray
impl Unpin for SuffixArray
impl UnsafeUnpin for SuffixArray
impl UnwindSafe for SuffixArray
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more