[][src]Struct fozzie::scorer::Score

pub struct Score {
    pub score: f32,
    pub positions: Vec<usize>,
}

Fields

score: f32positions: Vec<usize>

Implementations

impl Score[src]

pub fn new(query: &[char], choice: &Choice) -> Score[src]

Auto Trait Implementations

impl RefUnwindSafe for Score

impl Send for Score

impl Sync for Score

impl Unpin for Score

impl UnwindSafe for Score

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.