[−][src]Struct finalfusion::similarity::WordSimilarityResult
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]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<'a> PartialEq<WordSimilarityResult<'a>> for WordSimilarityResult<'a>
[src]
fn eq(&self, other: &WordSimilarityResult<'a>) -> bool
[src]
fn ne(&self, other: &WordSimilarityResult<'a>) -> bool
[src]
impl<'a> PartialOrd<WordSimilarityResult<'a>> for WordSimilarityResult<'a>
[src]
fn partial_cmp(&self, other: &WordSimilarityResult) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> StructuralEq for WordSimilarityResult<'a>
[src]
impl<'a> StructuralPartialEq for WordSimilarityResult<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for WordSimilarityResult<'a>
impl<'a> Send for WordSimilarityResult<'a>
impl<'a> Sync for WordSimilarityResult<'a>
impl<'a> Unpin for WordSimilarityResult<'a>
impl<'a> UnwindSafe for WordSimilarityResult<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,