pub enum Vocabulary {
English,
Spanish,
EnglishWiki,
}
Expand description
This enum represents the different vocabulary lists which can be used as a source for the requests. There are currently two language options (English or Spanish) and an alternative English option from wikipedia. For more detailed information visit the Datamuse website
Variants§
English
The default vocabulary list with 550,000 words
Spanish
The Spanish vocabulary list with 500,000 words
EnglishWiki
The alternative English vocabulary list with 6 million words
Trait Implementations§
Source§impl Clone for Vocabulary
impl Clone for Vocabulary
Source§fn clone(&self) -> Vocabulary
fn clone(&self) -> Vocabulary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Vocabulary
impl Debug for Vocabulary
impl Copy for Vocabulary
Auto Trait Implementations§
impl Freeze for Vocabulary
impl RefUnwindSafe for Vocabulary
impl Send for Vocabulary
impl Sync for Vocabulary
impl Unpin for Vocabulary
impl UnwindSafe for Vocabulary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more