Struct elipdotter::index::LosslessOccurrences
source · [−]pub struct LosslessOccurrences<'a> { /* private fields */ }
Expand description
Get occurrences of a word (or similar words) from this Lossless
index.
Implementations
sourceimpl<'a> LosslessOccurrences<'a>
impl<'a> LosslessOccurrences<'a>
sourcepub fn new(index: &'a Lossless, word_proximates: &'a ProximateMap<'a>) -> Self
pub fn new(index: &'a Lossless, word_proximates: &'a ProximateMap<'a>) -> Self
The proximity::ProximateMap
can be acquired from
crate::query::Documents::take_proximate_map
which is returned from crate::Query::documents
.
Trait Implementations
sourceimpl<'a> Debug for LosslessOccurrences<'a>
impl<'a> Debug for LosslessOccurrences<'a>
sourceimpl<'a> OccurenceProvider<'a> for LosslessOccurrences<'a>
impl<'a> OccurenceProvider<'a> for LosslessOccurrences<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for LosslessOccurrences<'a>
impl<'a> Send for LosslessOccurrences<'a>
impl<'a> Sync for LosslessOccurrences<'a>
impl<'a> Unpin for LosslessOccurrences<'a>
impl<'a> UnwindSafe for LosslessOccurrences<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more