Trait rake::KeywordSort

source ·
pub trait KeywordSort {
    // Required method
    fn sort_by_score(&mut self);
}
Expand description

An interface to sort a vector of keywords by score

Required Methods§

source

fn sort_by_score(&mut self)

Reverse sort by score of keyword from greater to less

Implementations on Foreign Types§

source§

impl KeywordSort for Vec<KeywordScore>

source§

fn sort_by_score(&mut self)

Implementors§