[][src]Enum vocab::Guess

pub enum Guess {
    Local(Translation),
    Foreign(Translation),
}

Variants

Foreign(Translation)

Methods

impl Guess[src]

pub fn render(&self) -> &str[src]

pub fn render_translation(&self) -> &str[src]

pub fn guess(&mut self, guess: &str) -> bool[src]

Methods from Deref<Target = Translation>

pub fn get_total_percent(&self) -> f64[src]

Trait Implementations

impl Deref for Guess[src]

type Target = Translation

The resulting type after dereferencing.

Auto Trait Implementations

impl RefUnwindSafe for Guess

impl Send for Guess

impl Sync for Guess

impl Unpin for Guess

impl UnwindSafe for Guess

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> IntoSql for 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.