elipdotter::proximity

Struct ProximateWordItem

source
pub struct ProximateWordItem<'a> {
    pub word: &'a Arc<Alphanumeral<StrPtr>>,
    pub rating: f32,
}
Expand description

An item of the ProximateWordIter, returned from proximate_words.

Fields§

§word: &'a Arc<Alphanumeral<StrPtr>>

The found word.

§rating: f32

The word’s likeness. Higher is better.

Implementations§

source§

impl<'a> ProximateWordItem<'a>

source

pub fn new(item: (&'a