[−][src]Struct fm_index::RLFMIndex
Methods
impl<T, C, S> RLFMIndex<T, C, S> where
T: Character,
C: Converter<T>,
[src]
T: Character,
C: Converter<T>,
pub fn new<B: ArraySampler<S>>(text: Vec<T>, converter: C, sampler: B) -> Self
[src]
pub fn runs(&self) -> u64
[src]
pub fn len(&self) -> u64
[src]
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
impl<T, C, S> IndexWithConverter<T> for RLFMIndex<T, C, S> where
C: Converter<T>,
[src]
C: Converter<T>,
type C = C
fn get_converter(&self) -> &Self::C
[src]
impl<T, C, S> BackwardIterableIndex for RLFMIndex<T, C, S> where
T: Character,
C: Converter<T>,
[src]
T: Character,
C: Converter<T>,
type T = T
fn len(&self) -> u64
[src]
fn get_l(&self, i: u64) -> T
[src]
fn lf_map(&self, i: u64) -> u64
[src]
fn lf_map2(&self, c: T, i: u64) -> u64
[src]
fn iter_backward(&self, i: u64) -> BackwardIterator<Self>
[src]
impl<T, C, S> ForwardIterableIndex for RLFMIndex<T, C, S> where
T: Character,
C: Converter<T>,
[src]
T: Character,
C: Converter<T>,
type T = T
fn get_f(&self, i: u64) -> Self::T
[src]
fn fl_map(&self, i: u64) -> u64
[src]
fn fl_map2(&self, c: Self::T, i: u64) -> u64
[src]
fn len(&self) -> u64
[src]
fn iter_forward(&self, i: u64) -> ForwardIterator<Self>
[src]
impl<T, C, S> IndexWithSA for RLFMIndex<T, C, S> where
T: Character,
C: Converter<T>,
S: PartialArray,
[src]
T: Character,
C: Converter<T>,
S: PartialArray,
impl<T, C, S> Serialize for RLFMIndex<T, C, S> where
C: Serialize,
S: Serialize,
[src]
C: Serialize,
S: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de, T, C, S> Deserialize<'de> for RLFMIndex<T, C, S> where
C: Deserialize<'de>,
S: Deserialize<'de>,
[src]
C: Deserialize<'de>,
S: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl<T, C, S> Send for RLFMIndex<T, C, S> where
C: Send,
S: Send,
T: Send,
C: Send,
S: Send,
T: Send,
impl<T, C, S> Sync for RLFMIndex<T, C, S> where
C: Sync,
S: Sync,
T: Sync,
C: Sync,
S: Sync,
T: Sync,
impl<T, C, S> Unpin for RLFMIndex<T, C, S> where
C: Unpin,
S: Unpin,
T: Unpin,
C: Unpin,
S: Unpin,
T: Unpin,
impl<T, C, S> UnwindSafe for RLFMIndex<T, C, S> where
C: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
impl<T, C, S> RefUnwindSafe for RLFMIndex<T, C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,