Skip to main content

Score

Trait Score 

Source
pub trait Score {
    // Required method
    fn score(&self, terms: &[String]) -> usize;
}

Required Methods§

Source

fn score(&self, terms: &[String]) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Score for HashProxy<String, DefaultHasher, Xor8>

Source§

fn score(&self, terms: &[String]) -> usize

Implementors§