[][src]Struct finalfusion::similarity::WordSimilarityResult

pub struct WordSimilarityResult<'a> {
    pub similarity: NotNan<f32>,
    pub word: &'a str,
}

A word with its similarity.

This data structure is used to store a pair consisting of a word and its similarity to a query word.

Fields

similarity: NotNan<f32>word: &'a str

Trait Implementations

impl<'a> Debug for WordSimilarityResult<'a>[src]

impl<'a> Eq for WordSimilarityResult<'a>[src]

impl<'a> Ord for WordSimilarityResult<'a>[src]

impl<'a> PartialEq<WordSimilarityResult<'a>> for WordSimilarityResult<'a>[src]

impl<'a> PartialOrd<WordSimilarityResult<'a>> for WordSimilarityResult<'a>[src]

impl<'a> StructuralEq for WordSimilarityResult<'a>[src]

impl<'a> StructuralPartialEq for WordSimilarityResult<'a>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,