pub struct AlphabeticalRanker;Expand description
rank:alphabetical. Plain A-Z sort on text. Useful when score
information isn’t trustworthy (e.g. uniform-score generators
like gen:files).
Trait Implementations§
Source§impl CandidateRanker for AlphabeticalRanker
impl CandidateRanker for AlphabeticalRanker
fn rank(&self, scored: &mut Vec<ScoredCandidate>)
Auto Trait Implementations§
impl Freeze for AlphabeticalRanker
impl RefUnwindSafe for AlphabeticalRanker
impl Send for AlphabeticalRanker
impl Sync for AlphabeticalRanker
impl Unpin for AlphabeticalRanker
impl UnsafeUnpin for AlphabeticalRanker
impl UnwindSafe for AlphabeticalRanker
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