pub struct StoreFST { /* private fields */ }Implementations§
Source§impl StoreFST
impl StoreFST
pub fn cardinality(&self) -> usize
pub fn as_stream(&self) -> FSTStream<'_, AlwaysMatch>
pub fn lookup_begins(&self, word: &str) -> Result<FSTStream<'_, Regex>, ()>
pub fn lookup_typos( &self, word: &str, typo_factor: u32, ) -> Result<FSTStream<'_, Levenshtein>, ()>
pub fn should_consolidate(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoreFST
impl RefUnwindSafe for StoreFST
impl Send for StoreFST
impl Sync for StoreFST
impl Unpin for StoreFST
impl UnsafeUnpin for StoreFST
impl UnwindSafe for StoreFST
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