pub struct ScoreRanker;Expand description
rank:score. Default v1 ranker. Sorts by descending score with
alphabetical tie-break on candidate text.
Trait Implementations§
Source§impl CandidateRanker for ScoreRanker
impl CandidateRanker for ScoreRanker
fn rank(&self, scored: &mut Vec<ScoredCandidate>)
Auto Trait Implementations§
impl Freeze for ScoreRanker
impl RefUnwindSafe for ScoreRanker
impl Send for ScoreRanker
impl Sync for ScoreRanker
impl Unpin for ScoreRanker
impl UnsafeUnpin for ScoreRanker
impl UnwindSafe for ScoreRanker
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