pub struct ScoredMatch {
pub index: usize,
pub text: String,
pub score: i64,
pub matched_indices: Vec<usize>,
}Expand description
A scored match for fuzzy search.
Fields§
§index: usize§text: String§score: i64§matched_indices: Vec<usize>Trait Implementations§
Source§impl Clone for ScoredMatch
impl Clone for ScoredMatch
Source§fn clone(&self) -> ScoredMatch
fn clone(&self) -> ScoredMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScoredMatch
impl RefUnwindSafe for ScoredMatch
impl Send for ScoredMatch
impl Sync for ScoredMatch
impl Unpin for ScoredMatch
impl UnsafeUnpin for ScoredMatch
impl UnwindSafe for ScoredMatch
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