pub struct MockDictionaryTokenIndexer { /* private fields */ }Expand description
Dictionary-based token indexer with interior mutability
Implementations§
Trait Implementations§
Source§impl Bm25TokenIndexer for MockDictionaryTokenIndexer
impl Bm25TokenIndexer for MockDictionaryTokenIndexer
Source§type Bm25TokenIndex = usize
type Bm25TokenIndex = usize
The type used to represent token indices.
This associated type defines what kind of index representation is used
for tokens.
Auto Trait Implementations§
impl !Freeze for MockDictionaryTokenIndexer
impl !RefUnwindSafe for MockDictionaryTokenIndexer
impl Send for MockDictionaryTokenIndexer
impl !Sync for MockDictionaryTokenIndexer
impl Unpin for MockDictionaryTokenIndexer
impl UnwindSafe for MockDictionaryTokenIndexer
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