pub struct LosslessOccurrences<'a> { /* private fields */ }
Expand description
Get occurrences of a word (or similar words) from this Lossless
index.
Implementations§
source§impl<'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§
source§impl<'a> Debug for LosslessOccurrences<'a>
impl<'a> Debug for LosslessOccurrences<'a>
source§impl<'a> OccurenceProvider<'a> for LosslessOccurrences<'a>
impl<'a> OccurenceProvider<'a> for LosslessOccurrences<'a>
Auto Trait Implementations§
impl<'a> Freeze for LosslessOccurrences<'a>
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§
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