pub struct Rank {
pub index: usize,
pub matched_indexes: Vec<usize>,
}Expand description
Rank defines a rank for a given item.
Fields§
§index: usizeThe index of the item in the original input.
matched_indexes: Vec<usize>Indices of the actual word that were matched against the filter term.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rank
impl RefUnwindSafe for Rank
impl Send for Rank
impl Sync for Rank
impl Unpin for Rank
impl UnsafeUnpin for Rank
impl UnwindSafe for Rank
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