pub struct StemIndex {
pub ambiguous: usize,
pub keys_in: usize,
/* private fields */
}Expand description
The second, sorted hash index of a table: hashes of the STEMMED key
texts (stem_key), each mapped to its entry. A stem two keys of
DIFFERENT entries share is ambiguous and is left out (ambiguous);
the same stem from several keys of one entry (ромашка аптечная,
ромашки аптечной) is one row. Consulted only when the exact index
finds nothing.
Fields§
§ambiguous: usizeStems dropped because they named more than one entry.
keys_in: usizeKeys the index was built from.
Implementations§
Trait Implementations§
impl Eq for StemIndex
impl StructuralPartialEq for StemIndex
Auto Trait Implementations§
impl Freeze for StemIndex
impl RefUnwindSafe for StemIndex
impl Send for StemIndex
impl Sync for StemIndex
impl Unpin for StemIndex
impl UnsafeUnpin for StemIndex
impl UnwindSafe for StemIndex
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.