[][src]Struct vocab::VocabStore

pub struct VocabStore(_);

Methods

impl VocabStore[src]

pub fn from(file: &str) -> Result<VocabStore, VocabStoreError>[src]

pub fn init(file: &str) -> Result<VocabStore, VocabStoreError>[src]

pub fn add(&self, translation: &Translation) -> Result<(), VocabStoreError>[src]

pub fn save(&self, translation: &Translation) -> Result<(), VocabStoreError>[src]

pub fn find_local(
    &self,
    find_local: &str
) -> Result<Option<Translation>, VocabStoreError>
[src]

pub fn guesses(&self) -> Guesses[src]

pub fn entries(&self) -> Entries[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> 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.